Interface SerializerProtocol

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

Methods

  • Parameters

    • data: any

    Returns [string, Uint8Array]

  • Parameters

    • type: string
    • data: string | Uint8Array

    Returns any