Skip to main content

Interface: TsProtoGeneratedType

@shareledgerjs/signing.TsProtoGeneratedType

A type generated by ts-proto.

Properties

decode

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

Type declaration

▸ (input, length?): any

Parameters
NameType
inputUint8Array | 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


fromPartial

Readonly fromPartial: (object: any) => any

Type declaration

▸ (object): any

Parameters
NameType
objectany
Returns

any