Delphi 数据转换

指针转换

 

Pointer——string

 

string:=PChar(Pointer);{ Pointer指向的数据要以#0结尾。使用System.AllocMem(Size)分配的内存是用#0填充的。 }