Batch segments
Similar to [wireprotocol-blobs-putsegment], but allows to send multiple segments.
Client
Int32
—p_operation
-
Operation code (
op_batch_segments
—44
) Int32
—p_sgmt_blob
-
Blob handle
Int32
—p_sgmt_length
-
Length of segment data (effectively ignored; possibly only in recent Firebird versions)
Buffer
—p_sgmt_segment
-
Blob segments
The buffer can contain one or more segments, which are prefixed with 2 bytes of length (little-endian), followed by the data.The maximum length per segment is 32765 (Firebird 2.5 and older) or 65533 (Firebird 3.0 and higher).