Inverse of serialize.
Typically, this returns a deep clone of the original value, not the same literal reference. Indeed, it is impossible to return the original reference on a different replica.
Returns a Uint8Array that is the serialized form of value.
To recover the original value, use deserialize.
Returns an instance of ArraySerializer that uses valueSerializer to serialize each value.
This method may cache instances internally to save memory.
Generated using TypeDoc
Serializes T[] using a serializer for T. This is slightly more efficient than DefaultSerializer, and it works with arbitrary T.
Construct using getInstance.