zMemtableExt - helper class for zMemTable
Posted: 20.11.2021, 16:53
This is a helper class for zMemTable developed for my personal project. I have and made it (with demo program) available at https://github.com/kjteng/zMemTableExt
Methods implemented (using zstream.pas to compress the data)
procedure SaveToBlob(BField: TBlobField);
procedure LoadFromBlob(BField: TBlobField);
procedure SaveToFile(Filename: TFilename; zip: Boolean =True);
procedure LoadFromFile(Filename: TFilename);
procedure CopyStru(src: TDataSet; xcFields: TByteSet =[]; DeleteOldfields: Boolean=True);
I have only tested it on Lazarus ver2.0.12.
All are welcome to try it. Comments and suggestions would be highly appreciated.
Methods implemented (using zstream.pas to compress the data)
procedure SaveToBlob(BField: TBlobField);
procedure LoadFromBlob(BField: TBlobField);
procedure SaveToFile(Filename: TFilename; zip: Boolean =True);
procedure LoadFromFile(Filename: TFilename);
procedure CopyStru(src: TDataSet; xcFields: TByteSet =[]; DeleteOldfields: Boolean=True);
I have only tested it on Lazarus ver2.0.12.
All are welcome to try it. Comments and suggestions would be highly appreciated.