infrastructure/native/protocol/directed_param library

Classes

DirectedParam
A parameter with an explicit ParamDirection for the DRT1 wire path.

Constants

drt1MagicBytes → const List<int>
Little-endian DRT1 magic (Rust: odbc_engine crate bound_param module).
kDirectedParamErrorPrefix → const String
Stable error prefix, aligned with output_aware_params / native ValidationError (TYPE_MAPPING §3.1).

Functions

paramValuesFromDirected(List<DirectedParam> params) List<ParamValue>
Converts DirectedParam rows to a legacy v0 binary ParamValue list.
serializeDirectedParams(List<DirectedParam> params) Uint8List
Serialises DirectedParam values to a DRT1 buffer.
validateDirectedOutInOut(ParamDirection direction, ParamValue pv) → void
Client-side checks for DRT1 OUT / INOUT that the native engine will reject; fails fast with the same slugs as output_aware_params.rs.