borsh-js
borsh-js copied to clipboard
TypeScript/JavaScript implementation of Binary Object Representation Serializer for Hashing
When schema is `u64` or `u128`, the input value type can be `number`, `bigint`, `string`, `boolean`. But when schema is `u8`, `u16`, `u32`, the input value type can only be...
Depending on the documentation, the `enum` schema should be ``` { enum: [ { struct: { className1: structSchema1 } }, { struct: { className2: structSchema2 } }, ... ] }...
Is there any way to make `Vec` deserialize to a `UInt8Array` instead of a `number[]` without having to manually update all the values after deserialization is finished?