uint8-to-hex
TypeScript icon, indicating that this package has built-in type declarations

2.0.0 • Public • Published

Uint8 To Hex

The fastest function to convert a Uint8Array to hexadecimal.

Install

npm install --save uint8-to-hex

Usage

import toHex from 'uint8-to-hex';

const uint8 = new Uint8Array ( [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33] );
const hex = toHex ( uint8 ); // => '48656c6c6f2c20776f726c6421'

License

MIT © Fabio Spampinato

Package Sidebar

Install

npm i uint8-to-hex

Weekly Downloads

249

Version

2.0.0

License

none

Unpacked Size

4.04 kB

Total Files

10

Last publish

Collaborators

  • fabiospampinato