Call Signature
Section titled “Call Signature”deserializeDisjointSet<
T>(value,options):GrowableDisjointSet<T>
Defined in: packages/disjoint-set/src/serialization/binary.ts:154
Restore a canonical binary partition after validating all geometry, counts, codec results, and duplicate elements into staging arrays.
An indexed artifact restored through a growable factory receives the dense
numeric elements 0..size - 1.
Type Parameters
Section titled “Type Parameters”T
Parameters
Section titled “Parameters”unknown
options
Section titled “options”DeserializeDisjointSetOptions<T> & object
Returns
Section titled “Returns”Throws
Section titled “Throws”For malformed bytes, unsupported versions,
invalid codec results, duplicate elements, or decode-budget violations.
Distinguish causes with error.code.
Throws
Section titled “Throws”With MISSING_ELEMENT_CODEC when a
growable artifact is decoded without the codec that produced it.
Call Signature
Section titled “Call Signature”deserializeDisjointSet<
T>(value,options):IndexedDisjointSet|GrowableDisjointSet<T>
Defined in: packages/disjoint-set/src/serialization/binary.ts:161
Restore a canonical binary partition after validating all geometry, counts, codec results, and duplicate elements into staging arrays.
An indexed artifact restored through a growable factory receives the dense
numeric elements 0..size - 1.
Type Parameters
Section titled “Type Parameters”T
Parameters
Section titled “Parameters”unknown
options
Section titled “options”DeserializeDisjointSetOptions<T> & object
Returns
Section titled “Returns”IndexedDisjointSet | GrowableDisjointSet<T>
Throws
Section titled “Throws”For malformed bytes, unsupported versions,
invalid codec results, duplicate elements, or decode-budget violations.
Distinguish causes with error.code.
Throws
Section titled “Throws”With MISSING_ELEMENT_CODEC when a
growable artifact is decoded without the codec that produced it.
Call Signature
Section titled “Call Signature”deserializeDisjointSet(
value,options?):IndexedDisjointSet|GrowableDisjointSet<number>
Defined in: packages/disjoint-set/src/serialization/binary.ts:165
Restore a canonical binary partition after validating all geometry, counts, codec results, and duplicate elements into staging arrays.
An indexed artifact restored through a growable factory receives the dense
numeric elements 0..size - 1.
Parameters
Section titled “Parameters”unknown
options?
Section titled “options?”DeserializeDisjointSetOptions<number>
Returns
Section titled “Returns”IndexedDisjointSet | GrowableDisjointSet<number>
Throws
Section titled “Throws”For malformed bytes, unsupported versions,
invalid codec results, duplicate elements, or decode-budget violations.
Distinguish causes with error.code.
Throws
Section titled “Throws”With MISSING_ELEMENT_CODEC when a
growable artifact is decoded without the codec that produced it.