Subject | Pb storing binary 0 into TByteField Delphi 2007 |
---|---|
Author | Thierry Holtzmann |
Post date | 2017-12-01T19:34:40Z |
Hi,
I want to store binary data into a field defined as Char(20) character set octet. IBO correctly defines the field as TByteField, but I can not store all binary values into it. If data contains binary 0, all bytes after are ignored when I use Field.AsString. When I use Field.Value the bytes after binary 0 including the binary 0 itself are converted with spaces.
Does anyone know a way to
acheave my goal ?