Methods
decode
- decode(reader: Reader | Uint8Array, length?: undefined | number): any
-
Parameters
-
reader: Reader | Uint8Array
-
Optional length: undefined | number
Returns any
encode
- encode(message: any, writer?: protobuf.Writer): Writer
-
Parameters
-
message: any
-
Optional writer: protobuf.Writer
Returns Writer