Options
All
  • Public
  • Public/Protected
  • All
Menu

Type parameters

  • T

Hierarchy

  • EncodeDecode

Index

Methods

decode

  • decode(buffer: Buffer, offset?: number): T
  • Parameters

    • buffer: Buffer
    • Optional offset: number

    Returns T

encode

  • encode(src: T, buffer: Buffer, offset?: number): number
  • Parameters

    • src: T
    • buffer: Buffer
    • Optional offset: number

    Returns number

Generated using TypeDoc