@nhtio/serialization
Provides a mechanism to serialize and deserialize data within a NodeJS application
Variables
| Variable | Description |
|---|---|
| version | The current version of the package. |
Functions
| Function | Description |
|---|---|
| canSerialize | Checks if a value is serializable |
| confirm | Confirms that a value is serializable, returning the typecasted value if it is. |
| deserialize | Deserializes the given Uint8Array into the original data type. |
| serialize | Serializes the given data into a Uint8Array. |
References
Serializable
Re-exports Serializable
SerializablePrimitive
Re-exports SerializablePrimitive
SerializableTypedArray
Re-exports SerializableTypedArray