Type declaration
-
decode:function
- decode(input: Uint8Array | Reader, length?: number): Counterparty
-
Parameters
-
input: Uint8Array | Reader
-
Optional
length: number
-
encode:function
- encode(message: Counterparty, writer?: Writer): Writer
-
Returns Writer
-
fromJSON:function
-
fromPartial:function
- fromPartial<I>(object: I): Counterparty
-
Type Parameters
-
I extends {
clientId?: string;
connectionId?: string;
prefix?: { keyPrefix?: Uint8Array | undefined; };
} & {
clientId?: string;
connectionId?: string;
prefix?: {
keyPrefix?: Uint8Array;
} & ({ keyPrefix?: Uint8Array | undefined; }) & { [ K in string | number | symbol]: never };
} & { [ K in string | number | symbol]: never }
-
toJSON:function