Expand description
Zero-copy views over encoded strings, messages, arrays, and maps.
Access surface matching access.h.
Structs§
- Array
Iter - Iterator over the raw fields of an
ArrayView. - Array
View - A zero-copy view over an encoded ProtoCache array.
- Bool
Array - A borrowed sequence of booleans stored as ProtoCache bytes.
- Field
View - 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.
- Message
View - A zero-copy view over an encoded ProtoCache message.
- Pair
View - A borrowed key/value pair from a
MapView. - Scalar
Array - A zero-copy view over a densely encoded array of scalar values.
- Scalar
Array Iter - Iterator over scalar values in a
ScalarArray. - String
View - A borrowed ProtoCache byte string.
- View
Array - A typed, zero-copy array facade built on
ArrayView. - View
Array Iter - Iterator over decoded values in a
ViewArray. - ViewMap
- A typed, zero-copy map facade built on
MapView. - View
MapIter - Iterator over decoded entries in a
ViewMap.
Traits§
- Field
Decode - 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
endto include a detected subslice after validating its provenance.