bintohex和hextobin
bintohex和hextobin
var ms: TMemoryStream;
var hex: string; SetLength(hex, ms.Size * 2); BinToHex(ms.Memory, PChar(hex), ms.Size);
var ms: TMemoryStream;
var hex: string; len := Length(hex) div 2; ms.SetSize(len); HexToBin(PChar(hex), ms.Memory, ms.Size); end;
本文来自博客园,作者:{咏南中间件},转载请注明原文链接:https://www.cnblogs.com/hnxxcxg/p/12381626.html

浙公网安备 33010602011771号