On 5/27/21 4:34 PM, Jiří Činčura wrote:
a) user stream (not segmented) blobs
Is there some docs for that? What I found in "Using_OO_API.html" is just "Last two
parameters are required only if you want to use blob filters or use stream blob, that's out of
scope here.".
That parameters are BPB (like DPB, but blob PB) and it's length. The
simplest way to create one is using IXpbBuilder:
IXpbBuilder* pb = utl->getXpbBuilder(&status, IXpbBuilder::BPB,
NULL, 0);
pb->insertInt(&status, isc_bpb_type, isc_bpb_type_segmented);
pb->getBufferLength(&status) and pb->getBuffer(&status) are that 2
parameters what you should pass when creating blob.
PS. I've thought creating various types of blobs is discussed in old
Borland IB docs. Sorry if that's wrong.
Firebird-Devel mailing list, web interface at
https://lists.sourceforge.net/lists/listinfo/firebird-devel