Subject Reading first X Bytes of a BLOB
Author dmarmur2002
Hello!

I'm reworking my document handling from the cursed M$-OLE-based crap I
wrote previously to something more manageable. I'm going to use MIME
multipart/form-data and found a simple parser.

Since it is more manageable to put some of the information into fields
before the actual files goes in, it would be a huge benefit for the
GUI if...

...it would be possible to get just the first X bytes of a blob in
IBO? In IB_Session@2035 (IBO 4.6A) I can see:

repeat
GetSegment;
until ( Result <> 0 ) and ( Result <> isc_segment );

This suggests that even just getting the IB_BlobStream.BlobSize will
get the whole blob down the line.

Maybe the fbclient library can not handle such requests at all, but I
suspect otherwise.

Regards and TIA

/Dany