|Subject||RE: [IBO] Pb storing binary 0 into TByteField Delphi 2007|
I've been looking into this more and I'm wondering if you meant to type TBytesField rather than TByteField.
I looked into this and it does seem that it tries to avoid truncating the string representation of things.
From: IBObjects@yahoogroups.com [mailto:IBObjects@yahoogroups.com]
Sent: Friday, December 01, 2017 12:35 PM
Subject: [IBO] Pb storing binary 0 into TByteField Delphi 2007
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