Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Protobuf

Hierarchy

  • Protobuf

Index

Constructors

Properties

Methods

Constructors

constructor

Properties

__ROOT__

__ROOT__: any

Methods

decode

  • decode(type: string, data: Buffer): Promise<{ data: any; type: string }>
  • Parameters

    • type: string
    • data: Buffer

    Returns Promise<{ data: any; type: string }>

encode

  • encode(type: string, data?: {}): Promise<any>
  • Parameters

    • type: string
    • Default value data: {} = {}

    Returns Promise<any>

lookupEnum

  • lookupEnum(path: string, key: number | string): Promise<any>
  • Parameters

    • path: string
    • key: number | string

    Returns Promise<any>

Generated using TypeDoc