[fpc-pascal] String type with specified length and without codepage
Jonas Maebe
jonas at freepascal.org
Sun Aug 18 15:50:37 CEST 2019
On 18/08/2019 15:47, Dmitry Boyarintsev wrote:
> RawByteString?
RawByteString still has a dynamic code page. Additionally, operations on
RawByteString are not very well defined by Embarcadero. In general, it
should only be used as a function result or parameter type, and never as
a variable on which you perform operations.
Again: strings are data + metadata, arrays are just data. Do not use
strings for raw data.
Jonas
More information about the fpc-pascal
mailing list