Defined in: packages/disjoint-set/src/serialization/binary.ts:47
Runtime inputs needed to decode a generic binary element run.
Type Parameters
Section titled “Type Parameters”T
Properties
Section titled “Properties”codec?
Section titled “codec?”
readonlyoptionalcodec?:ElementCodec<T>
Defined in: packages/disjoint-set/src/serialization/binary.ts:49
Codec matching the one used to serialize a growable layout.
isElement?
Section titled “isElement?”
readonlyoptionalisElement?: (value) =>value is T
Defined in: packages/disjoint-set/src/serialization/binary.ts:51
Optional validation applied to every decoded codec result.
Parameters
Section titled “Parameters”unknown
Returns
Section titled “Returns”value is T
create?
Section titled “create?”
readonlyoptionalcreate?:GrowableDisjointSetFactory
Defined in: packages/disjoint-set/src/serialization/binary.ts:53
Restore into a growable layout other than the artifact’s recorded kind.