Shortcut which deserializes the value and assumes the whole ArrayBuffer for this action.
the ArrayBuffer which contains the value
Shortcut which creates an appropriately sized ArrayBuffer for the value and serializes the value.
the value to serialize
Generated using TypeDoc
This class is meant to help you to construct a serializer which maps a static list of values to their indexes and only serialize those. The values provided will be reduced to exclude duplications which are determined by the their identity (==).
Despite its name, this class can be used to serialize any number of static collection of items to their indexes.
Be aware that this serializer needs to be configured the same way when deserializing otherwise it will not map to the correct value.