随笔分类 - 通讯协议和数据序列
通讯协议和数据序列
摘要:d7 ansi和unicode相互转换 Ansi转Unicode function AnsiToUnicode(Str: String): WideString; var LWideChar: PWideChar; Len: Integer; begin Len := (Length(Str) +
阅读全文
摘要:数据序列化比较:JSON,YAML,BSON,MessagePack
阅读全文
摘要:DELPHI7适用的BytesOf和StringOf
阅读全文
摘要:unicodestring和rawbytestring相互转换
阅读全文
摘要:TRawByteStringStream
阅读全文
摘要:大小端交换 {$IF RTLVersion<25} IntPtr = Integer; {$IFEND IntPtr} function swap16(const v): Word; begin // FF, EE : EE->1, FF->2 PByte(@result)^ := PByte(In
阅读全文
摘要:关于olevariant数据序列的续说
阅读全文
摘要:TFDQuery提交TFDMemTable修改的数据
阅读全文
摘要:TFDMemTable已修改的数据序列为流
阅读全文