Expand description
Type-length-value structure definition and manipulation
Structs§
- TlvState
Borrowed - Encapsulates immutable base state data (mint or account) with possible extensions
- TlvState
Mut - Encapsulates mutable base state data (mint or account) with possible extensions
- TlvState
Owned - Encapsulates owned TLV data
Traits§
- TlvState
- Trait for all TLV state
Functions§
- realloc_
and_ pack_ first_ variable_ len - Packs a variable-length value into an existing TLV space, where no repeating discriminators are allowed
- realloc_
and_ pack_ variable_ len_ with_ repetition - Packs a variable-length value into an existing TLV space, reallocating the account and TLV as needed to accommodate for any change in space