Subject | Re: [IBO] blob 2 buffer? |
---|---|
Author | John vd Waeter |
Post date | 2008-01-03T15:42:06Z |
>> Hi,Hi Helen,
>>
>> I want to read the contents of a binary blobfield into a buffer (like
>> array of char or array of byte).
>>
>> Howto? I can use SetBlobData to do the opposite, but there is not
>> something like GetBlobData...
>
> Have you tried YourBlobField.AsString? You might also think about pulling it into a stream or a TStrings - look at the AssignTo method of TIB_ColumnBinary...you should be able to manipulate the bytes into a byte array from one of those objects.
>
> Helen
>
Pulled it in a TStream, works fine!
Thanks!
John