UNPKG

@signumjs/util

Version:

Useful utilities and tools for building Signum Network applications

18 lines (17 loc) 542 B
/** * Original work Copyright (c) 2018 PoC-Consortium * Modified work Copyright (c) 2019 Burst Apps Team */ /** * Toggles the endianess of a hex string. * `0xBEEF` > `0xEFBE` * If string is little Endianess it turns into Big Endianess, and vice versa * * > This method is mainly used for Smart Contract messaging and data inspection * * @param hexString The hex string to be converted * @return The converted string as hex string * * @category conversion */ export declare const convertHexEndianess: (hexString: any) => string;