Interface SerializerProtocol

interface SerializerProtocol {
    dumpsTyped(data): [string, Uint8Array<ArrayBufferLike>];
    loadsTyped(type, data): any;
}

Methods

  • Parameters

    • data: any

    Returns [string, Uint8Array<ArrayBufferLike>]

  • Parameters

    • type: string
    • data: string | Uint8Array<ArrayBufferLike>

    Returns any