Grijjy.ProtocolBuffers.pas

Grijjy.ProtocolBuffers.pas

Binary Serialization with Google Protocol Buffers

  

class function Serialize<T: record>(const ARecord: T): TBytes; overload; static; inline;
class function Serialize(const ARecordType: Pointer;
      const ARecord): TBytes; overload; static;
class procedure Serialize<T: record>(const ARecord: T;
      const AFilename: String); overload; static; inline;
class procedure Serialize(const ARecordType: Pointer; const ARecord;
      const AFilename: String); overload; static;
class procedure Serialize<T: record>(const ARecord: T;
      const AStream: TStream); overload; static; inline;
class procedure Serialize(const ARecordType: Pointer; const ARecord;
      const AStream: TStream); overload; static;
。。。。。。

  

posted @ 2020-11-25 15:11  delphi中间件  阅读(180)  评论(0编辑  收藏  举报