Remove all classes from the map.
Delete the encoder for a given class.
Constructor function.
true if class found and deleted, otherwise false.
Get the encoder for a given class.
Constructor function.
Encoder, or undefined if none specified.
Register an encoder for a given type.
The class to encode. This is the function for the constructor of objects of this type. For example, Uint8Array the value of the constructor property of a Uint8Array instance.
The function to use for encoding this type.
Previous registration, or undefined if none.
Contain a set of mappings from an object constructor to a matching TypeEncoder.