Type alias KeystoreRPCCodec<T>
KeystoreRPCCodec<T>: {
decode(input, length?) => T;
encode(message, writer?) => Writer;
}
Type declaration
-
decode:function
- decode(input, length?): T
-
Parameters
-
input: Uint8Array | Reader
-
Optional
length: number
Returns T
-
encode:function
- encode(message, writer?): Writer
-
Parameters
-
message: T
-
Optional
writer: Writer
Returns Writer