Why Does SetString Take Less Memory in Delphi (with Unicode)?
This is Delphi 2009, so Unicode applies. I had some code that was loading strings from a buffer into a StringList as follows: var Buffer: TBytes; RecStart, RecEnd: PChar; S: string; FileStream.Read(Buffer[0], Size); repeat ... find next record RecStart and RecEnd that point into the buffer; ...