UNPKG

@signumjs/util

Version:

Useful utilities and tools for building Signum Network applications

15 lines (14 loc) 572 B
/** * Original work Copyright (c) 2018 PoC-Consortium * Modified work Copyright (c) 2019 Burst Apps Team */ /** * Converts byte array to hexadecimal string * Inverse operation of {@link convertHexStringToByteArray} * @param bytes The (unsigned) byte array to be converted * @param uppercase If _true_, converts hex string with uppercase characters (Default: false) * @return {string} A hex string representing the byte array input * * @category conversion */ export declare const convertByteArrayToHexString: (bytes: Uint8Array, uppercase?: boolean) => string;