UNPKG

@signumjs/util

Version:

Useful utilities and tools for building Signum Network applications

16 lines (15 loc) 656 B
/** * Original work Copyright (c) 2018 PoC-Consortium * Modified work Copyright (c) 2019 Burst Apps Team */ /** * Converts a byte array into string * Inverse function {@link convertStringToByteArray} * @param byteArray The byte array to be converted * @param startIndex The starting index of array to be converted (Default: 0) * @param length The number of bytes to be considered, _iff_ startIndex is given. If _null_ the byte array's length is considered * @return {string} The converted string * * @category conversion */ export declare const convertByteArrayToString: (byteArray: Uint8Array, startIndex?: number, length?: number) => string;