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