Skip to main content

Module access

Module access 

Source
Expand description

Zero-copy views over encoded strings, messages, arrays, and maps. Access surface matching access.h.

Structs§

ArrayIter
Iterator over the raw fields of an ArrayView.
ArrayView
A zero-copy view over an encoded ProtoCache array.
BoolArray
A borrowed sequence of booleans stored as ProtoCache bytes.
FieldView
The encoded words and width metadata for one field.
MapIter
Iterator over raw key/value pairs in a MapView.
MapView
A zero-copy view over an encoded ProtoCache map and its perfect-hash index.
MessageView
A zero-copy view over an encoded ProtoCache message.
PairView
A borrowed key/value pair from a MapView.
ScalarArray
A zero-copy view over a densely encoded array of scalar values.
ScalarArrayIter
Iterator over scalar values in a ScalarArray.
StringView
A borrowed ProtoCache byte string.
ViewArray
A typed, zero-copy array facade built on ArrayView.
ViewArrayIter
Iterator over decoded values in a ViewArray.
ViewMap
A typed, zero-copy map facade built on MapView.
ViewMapIter
Iterator over decoded entries in a ViewMap.

Traits§

FieldDecode
Decodes a typed value from an encoded message, array, or map field.
MapKey
A scalar key that can be converted to the bytes used by a map index.

Functions§

detect_array_with
Detects the complete encoded extent of an array using an element detector.
detect_map_with
Detects the complete encoded extent of a map using key and value detectors.
detect_slice_end
Extends end to include a detected subslice after validating its provenance.