Expand description
SBOR structured payload traversal.
Structs§
- Ancestor
State - Annotated
Sbor Ancestor - Annotated
Sbor Partial Leaf - Array
Header - Current
Value Info - Enum
Variant Header - Full
Location - Located
Traversal Event - Location
- The Location of the encoding - capturing both the byte offset in the payload, and also the container-path-based location in the SBOR value model.
- MapHeader
- Tuple
Header - Typed
Located Traversal Event - Typed
Location - Typed
Traverser - The
TypedTraverser
is for streamed decoding of a payload with type kinds. - Value
Tree Summary - VecTraverser
- The
VecTraverser
is for streamed decoding of a payload or single encoded value (tree). It turns payload decoding into a pull-based event stream. - VecTraverser
Config
Enums§
- Annotated
Sbor Ancestor Container - Annotated
Sbor Partial Leaf Locator - Container
Header - Container
Type - Expected
Start - MapEntry
Part - Next
Action - Terminal
Value Batch Ref - Terminal
Value Ref - Traversal
Event - Type
Mismatch Error - Typed
Traversal Error - Typed
Traversal Event
Traits§
Functions§
- calculate_
value_ tree_ body_ byte_ length - Returns the length of the value at the start of the partial payload.
- traverse_
partial_ payload_ with_ types - traverse_
payload_ with_ types