Interface PbjsGeneratedType
Methods
Readonly create
- create(properties?: {}): any
Readonly decode
- decode(reader: Uint8Array | Reader, length?: number): any
Parameters
reader: Uint8Array | Reader
Optional length: number
Returns any
Readonly encode
- encode(message: any, writer?: Writer): Writer
Parameters
message: any
Optional writer: Writer
Returns Writer
A type generated by protobufjs.
This can be used if you want to create types at runtime using pure JavaScript. See https://gist.github.com/fadeev/a4981eff1cf3a805ef10e25313d5f2b7