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_enginecratebound_parammodule). - kDirectedParamErrorPrefix → const String
-
Stable error prefix, aligned with
output_aware_params/ nativeValidationError(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/INOUTthat the native engine will reject; fails fast with the same slugs asoutput_aware_params.rs.