Interface AbstractEncoding<T>

interface AbstractEncoding<T> {
    decode: ((buffer: Buffer) => T);
    encode: ((data: T) => Buffer);
}

Type Parameters

  • T = any

Properties

Properties

decode: ((buffer: Buffer) => T)
encode: ((data: T) => Buffer)