UNPKG

@iota/bcs

Version:

BCS - Canonical Binary Serialization implementation for JavaScript

13 lines 1.07 kB
import { fromBase58, toBase58 } from './b58.js'; import { fromBase64, toBase64 } from './b64.js'; import type { BcsTypeOptions } from './bcs-type.js'; import { BcsType, BcsStruct, BcsEnum, BcsTuple, isSerializedBcs, SerializedBcs } from './bcs-type.js'; import { bcs } from './bcs.js'; import { fromHex, toHex } from './hex.js'; import { BcsReader } from './reader.js'; import type { EnumInputShape, EnumOutputShape, EnumOutputShapeWithKeys, InferBcsInput, InferBcsType } from './types.js'; import { decodeStr, encodeStr, splitGenericParameters } from './utils.js'; import type { BcsWriterOptions } from './writer.js'; import { BcsWriter } from './writer.js'; export { bcs, BcsType, BcsStruct, BcsEnum, BcsTuple, type BcsTypeOptions, SerializedBcs, isSerializedBcs, toBase58, fromBase58, toBase64, fromBase64, toHex, fromHex, encodeStr, decodeStr, splitGenericParameters, BcsReader, BcsWriter, type BcsWriterOptions, type InferBcsInput, type InferBcsType, type EnumOutputShape, type EnumInputShape, type EnumOutputShapeWithKeys, }; //# sourceMappingURL=index.d.ts.map