@iota/bcs
Classes
| Class | Description |
|---|---|
| BcsType | - |
| SerializedBcs | - |
| BcsStruct | - |
| BcsEnum | - |
| BcsTuple | - |
| BcsReader | Class used for reading BCS data chunk by chunk. Meant to be used by some wrapper, which will make sure that data is valid and is matching the desired format. |
| BcsWriter | Set of methods that allows data encoding/decoding as standalone BCS value or a part of a composed structure/vector. |
Interfaces
| Interface | Description |
|---|---|
| BcsTypeOptions | - |
| BcsWriterOptions | - |
Type Aliases
| Type Alias | Description |
|---|---|
| InferBcsType | - |
| InferBcsInput | - |
| EnumOutputShape | - |
| EnumOutputShapeWithKeys | - |
| EnumInputShape | - |
Variables
| Variable | Description |
|---|---|
| - | |
| - | |
| - | |
| - | |
| bcs | - |
| - | |
| - |
Functions
| Function | Description |
|---|---|
| toBase58 | - |
| fromBase58 | - |
| fromBase64 | - |
| toBase64 | - |
| isSerializedBcs | - |
| fromHex | - |
| toHex | - |
| encodeStr | Encode data with either hex or base64. |
| decodeStr | Decode either base64 or hex data. |
| splitGenericParameters | - |