Skip to main content

Module value

Module value 

Source
Expand description

Value encoding/decoding for GRC-20 binary format.

Implements the wire format for property values (spec Section 6.5).

Functionsยง

decode_position
Decodes a position string with validation (zero-copy).
decode_property_value
Decodes a PropertyValue (property index + value + optional language).
decode_value
Decodes a Value from the reader based on the data type (zero-copy).
encode_property_value
Encodes a PropertyValue (property index + value + optional language).
encode_value
Encodes a Value to the writer.
validate_position
Validates a position string according to spec rules.