Class Int16Serializer
Implements
Inherited Members
Namespace: Tenray.ZoneTree.Serializers
Assembly: ZoneTree.dll
Syntax
public sealed class Int16Serializer : ISerializer<short>
Methods
| Improve this Doc View SourceDeserialize(Memory<byte>)
Deserialize the bytes into entry type.
Declaration
public short Deserialize(Memory<byte> bytes)
Parameters
Type | Name | Description |
---|---|---|
Memory<byte> | bytes | The bytes to be deserialized. |
Returns
Type | Description |
---|---|
short | The deserialized entry. |
Serialize(in short)
Serialize the entry into byte array.
Declaration
public Memory<byte> Serialize(in short entry)
Parameters
Type | Name | Description |
---|---|---|
short | entry | The entry |
Returns
Type | Description |
---|---|
Memory<byte> | The serialized bytes. |