Type Parameters
N extends string = string
Methods
decode
- decode<T>(typeName: N, typeData: Buffer): T
Type Parameters
Parameters
typeName: N
typeData: Buffer
Returns T
encode
- encode<T>(typeName: N, type: T): Buffer
Type Parameters
Parameters
Returns Buffer