Files
common/packages/util/src/u8a/index.ts
T

21 lines
799 B
TypeScript

// Copyright 2017-2022 @polkadot/util authors & contributors
// SPDX-License-Identifier: Apache-2.0
/**
* @summary Utility methods to convert to and from `Uint8Array` objects
*/
export { u8aCmp, u8aCmpStrict } from './cmp';
export { u8aConcat, u8aConcatStrict } from './concat';
export { u8aEmpty } from './empty';
export { u8aEq, u8aEqStrict } 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';