Module byte_iterator

Module byte_iterator 

Source
Expand description

This module provides utilities for byte-level iteration and related functionality. It re-exports the basics and iterator modules for use in parsing or reading byte streams.

Structs§

ByteIterator
An iterator over bytes from a reader source with support for peeking, consuming, and error reporting.

Functions§

parse_array_entries
Iterate over JSON array entries, collecting the results from parse_value.
parse_number_as
Parse a JSON number and convert it to a concrete type R.
parse_number_as_string
Parse a JSON number and return its textual representation.
parse_object_entries
Iterate over JSON object entries, invoking parse_value for each key.
parse_quoted_json_string
Parse a JSON quoted string literal and return it as String.
parse_tag
Match a fixed ASCII tag at the current iterator position.