Gateway: { create<I>(base?): Gateway; decode(input,
length?): Gateway; encode(message,
writer?): Writer; fromJSON(object): Gateway; fromPartial<I>(object): Gateway; toJSON(message): unknown; } Type declaration
create:function
- create<I>(base?): Gateway
Type Parameters
- I extends {
address?: Uint8Array;
} & {
address?: Uint8Array;
} & {
[K in string | number | symbol]: never
}
decode:function
- decode(input, length?): Gateway
Parameters
- input: Uint8Array | Reader
Optional
length: number
encode:function
- encode(message, writer?): Writer
Parameters
- message: Gateway
- writer: Writer = ...
Returns Writer
fromJSON:function
fromPartial:function
- fromPartial<I>(object): Gateway
Type Parameters
- I extends {
address?: Uint8Array;
} & {
address?: Uint8Array;
} & {
[K in string | number | symbol]: never
}
toJSON:function
- toJSON(message): unknown
Returns unknown