Defined in: packages/trie/src/serialization/binary.ts:57
Runtime inputs needed to decode a segmented trie’s generic value run.
Type Parameters
Section titled “Type Parameters”V
Properties
Section titled “Properties”
readonlycodec:ElementCodec<V>
Defined in: packages/trie/src/serialization/binary.ts:59
Codec matching the one used to serialize stored values.
isValue?
Section titled “isValue?”
readonlyoptionalisValue?: (value) =>value is V
Defined in: packages/trie/src/serialization/binary.ts:61
Optional validation applied to every decoded value.
Parameters
Section titled “Parameters”unknown
Returns
Section titled “Returns”value is V
create?
Section titled “create?”
readonlyoptionalcreate?:SegmentedTrieFactory
Defined in: packages/trie/src/serialization/binary.ts:63
Restore into a layout other than the artifact’s recorded kind.