Module: utils/serialize
Classesโ
Type Aliasesโ
Schemaโ
Schema: Map
<Function
, any
>
Defined inโ
../node_modules/borsh/lib/index.d.ts:5
Functionsโ
base_decodeโ
base_decode(value
): Buffer
Parametersโ
Name | Type |
---|---|
value | string |
Returnsโ
Buffer
Defined inโ
../node_modules/borsh/lib/index.d.ts:4
base_encodeโ
base_encode(value
): string
Parametersโ
Name | Type |
---|---|
value | string | Uint8Array |
Returnsโ
string
Defined inโ
../node_modules/borsh/lib/index.d.ts:3
deserializeโ
deserialize<T
>(schema
, classType
, buffer
, Reader?
): T
Type parametersโ
Name |
---|
T |
Parametersโ
Name | Type |
---|---|
schema | Schema |
classType | (args : any ) => T |
buffer | Buffer |
Reader? | typeof BinaryReader |
Returnsโ
T
Defined inโ
../node_modules/borsh/lib/index.d.ts:47
serializeโ
serialize(schema
, obj
, Writer?
): Uint8Array
Parametersโ
Name | Type |
---|---|
schema | Schema |
obj | any |
Writer? | typeof BinaryWriter |
Returnsโ
Uint8Array
Defined inโ
../node_modules/borsh/lib/index.d.ts:46