interface DataConverter<T> {
    decode(arr: ArrayBuffer): T;
    encode(val: T): ArrayBuffer;
}

Type Parameters

  • T

Methods

Methods

  • Parameters

    • arr: ArrayBuffer

    Returns T

  • Parameters

    • val: T

    Returns ArrayBuffer