BinaryProtocolParser class
Parser for binary protocol query results.
Parses binary data returned from the native ODBC engine into structured ParsedRowBuffer instances with column metadata and row data.
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
messageLengthFromHeader(
Uint8List data) → int -
Returns total message length (header + payload) from the first 16 bytes.
datamust have length >= 16. Payload size at bytes 12..16 (LE). -
parse(
Uint8List data) → ParsedRowBuffer - Parses binary protocol data into a ParsedRowBuffer.
Constants
- headerSize → const int
- Size of the protocol header in bytes.
- magic → const int
- Magic number identifying binary protocol data (ASCII "ODBC").