Get segment
Client
Int32
—p_operation
-
Operation code (
op_get_segment
—36
) Int32
—p_sgmt_blob
-
Blob handle
Int32
—p_sgmt_length
-
Segment length
Maximum length is 32767 for Firebird 2.5 and older, 65535 for Firebird 3.0 and higher.
Buffer
—p_sgmt_segment
-
Always a zero-length buffer
Server
[wireprotocol-responses-generic] — on success, p_resp_data
is the blob segment
The response buffer in p_resp_data
contains zero or more segments.Each segment starts with 2-bytes for the length (little-endian), followed by that length of data.