infrastructure/native/protocol/protocol_ascii_parse library
Functions
-
isAsciiBytes(
Uint8List data) → bool - Returns true when every byte is ASCII (≤ 0x7F).
-
tryParseAsciiBool(
Uint8List data) → bool? -
Parses wire bool text (
0/1/true/false) from bytes when possible. -
tryParseAsciiDateTime(
Uint8List data) → DateTime? - Fast-path parse for common SQL / ISO datetime ASCII forms.
-
tryParseAsciiFloat64(
Uint8List data) → double? - Parses UTF-8 float text without allocating a String on the ASCII path.
-
tryParseAsciiInt(
Uint8List data) → int? - Parses a short ASCII integer (SMALLINT / textual int) without a String when possible. Returns null on failure.