Subject Re: [Firebird-Architect] Re: C API Upgrade?
Author Adriano dos Santos Fernandes
Alex Peshkov wrote:
>> The API itself may call others API functions that go to the server to do
>> things. Example:
>> getString(blob) -> getBlobId(), openBlob(), readBlob(), closeBlob()
>>
>
> Certainly. But please explain, what to do if jpeg is stored in blob?
There is two alternatives (we may have both, with getString() and
getData()):
1) getString() converts the blob to text via blob filters - if the user
has a filter from JPEG->text, this is what he expect :-), otherwise he
is not going to call this function
2) getData() returns the blob raw bytes


Adriano