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; 。。。。。。
本文来自博客园,作者:{咏南中间件},转载请注明原文链接:https://www.cnblogs.com/hnxxcxg/p/14036253.html