string:=PChar(Pointer);{ Pointer指向的数据要以#0结尾。使用System.AllocMem(Size)分配的内存是用#0填充的。 }
Delphi 数据转换
原文:https://www.cnblogs.com/it89/p/10140887.html