@polkadot/util
Version:
A collection of useful utilities for @polkadot
17 lines (16 loc) • 653 B
TypeScript
/**
* @summary Utility methods to convert to and from `Uint8Array` objects
*/
export { u8aCmp } from './cmp';
export { u8aConcat } from './concat';
export { u8aEmpty } from './empty';
export { u8aEq } from './eq';
export { u8aFixLength } from './fixLength';
export { u8aSorted } from './sorted';
export { u8aToBigInt } from './toBigInt';
export { u8aToBn } from './toBn';
export { u8aToBuffer } from './toBuffer';
export { u8aToHex } from './toHex';
export { u8aToString } from './toString';
export { u8aToU8a } from './toU8a';
export { U8A_WRAP_ETHEREUM, U8A_WRAP_POSTFIX, U8A_WRAP_PREFIX, u8aIsWrapped, u8aWrapBytes, u8aUnwrapBytes } from './wrap';