Skip to main content

Interface: PbjsGeneratedType

@shareledgerjs/signing.PbjsGeneratedType

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

Properties

create

Readonly create: (properties?: { [k: string]: any; }) => any

Type declaration

▸ (properties?): any

Parameters
NameType
properties?Object
Returns

any


decode

Readonly decode: (reader: Uint8Array | Reader, length?: number) => any

Type declaration

▸ (reader, length?): any

Parameters
NameType
readerUint8Array | Reader
length?number
Returns

any


encode

Readonly encode: (message: any, writer?: Writer) => Writer

Type declaration

▸ (message, writer?): Writer

Parameters
NameType
messageany
writer?Writer
Returns

Writer