Defined in: packages/snapshot-set/src/serialization/binary.ts:48
Runtime inputs needed to decode a snapshot set’s generic value run.
Type Parameters
Section titled “Type Parameters”T
Properties
Section titled “Properties”
readonlycodec:ElementCodec<T>
Defined in: packages/snapshot-set/src/serialization/binary.ts:50
Codec matching the one used to serialize values.
isValue?
Section titled “isValue?”
readonlyoptionalisValue?: (value) =>value is T
Defined in: packages/snapshot-set/src/serialization/binary.ts:52
Optional validation applied to every decoded value.
Parameters
Section titled “Parameters”unknown
Returns
Section titled “Returns”value is T