Skip to main content

@iota/bcs

Classes

ClassDescription
BcsType-
SerializedBcs-
BcsStruct-
BcsEnum-
BcsTuple-
BcsReaderClass 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.
BcsWriterSet of methods that allows data encoding/decoding as standalone BCS value or a part of a composed structure/vector.

Interfaces

InterfaceDescription
BcsTypeOptions-
BcsWriterOptions-

Type Aliases

Type AliasDescription
InferBcsType-
InferBcsInput-
EnumOutputShape-
EnumOutputShapeWithKeys-
EnumInputShape-

Variables

VariableDescription
toB58-
fromB58-
toB64-
fromB64-
bcs-
toHEX-
fromHEX-

Functions

FunctionDescription
toBase58-
fromBase58-
fromBase64-
toBase64-
isSerializedBcs-
fromHex-
toHex-
encodeStrEncode data with either hex or base64.
decodeStrDecode either base64 or hex data.
splitGenericParameters-