Interface ISerializable<T>

Interface for serializable objects

See

  • serialize - serialize object to Uint8Array
  • deserialize - deserialize Uint8Array to object
interface ISerializable<T> {
    deserialize(data, offset): IDeserializedResult<T>;
    serialize(): Uint8Array;
}

Type Parameters

  • T

Methods