这是我需要转换delphi的代码:
LPBYTE readCharBuff = NULL;
BYTE readBuffSize;
readCharBuff = new BYTE[200];
readBuffSize = 200;
readCharBuff[readBuffSize] = '\0';
感谢您的帮助
答案 0 :(得分:1)
以下是字面翻译:
var
readCharBuff: PByte;
readBuffSize: Byte;
readCharBuff := nil;
GetMem(readCharBuff, 200);
readBuffSize := 200;
readCharBuff[readBuffSize] := $0;