Previous: , Up: Readers   [Contents]


6.5.2 stream-reader

Parses opaque GBytes. Each <map> needs id= and datapoint=, plus either match= (regex) or offset=+length= (bytes).

group

Regex capture index (default 0 = whole match).

on-missing

warning (default) or error.

encoding

For byte maps: ascii (default), uint8, int8, uint16be/le, int16be/le, uint32be/le, int32be/le.

text-to-value

Optional; at most one per map. Allowed only on regex maps, or on byte maps with encoding="ascii". Not valid with numeric byte encodings (uint8, int16be, …). Same child elements as json-reader (see Text Conversions).