A protobuf encoder - takes an object and returns a byte array

interface Encoder<T> ((data) => Uint8Array)

Type Parameters

  • T