Skip to main content

Module sa_parse

Module sa_parse 

Source
Expand description

Structured Append bit-stream parser.

Given one symbol’s data bit stream (the bytes a decoder recovers from the data region of a single QR symbol), parse_sa_datastream reads the Structured Append header (mode 0011, the symbol-sequence indicator, and the parity byte) and then decodes the data segments, returning the position, total, parity, and the recovered payload bytes.

This is decoder-agnostic: it works on whatever bytes your decoder hands you. The rqrr adapter (behind the rqrr feature) can be paired with decoders that expose raw symbol bytes for an end-to-end encode/render/decode round-trip.

Structs§

SaSymbolData
A Structured Append symbol parsed from a data bit stream (owned payload).

Enums§

SaParseError
Errors returned while parsing a Structured Append data bit stream.

Functions§

parse_sa_datastream
Parses a Structured Append data bit stream into its header and payload.