@obsessiveo/arraybuffer-to-hex
TypeScript icon, indicating that this package has built-in type declarations

1.0.1 • Public • Published

arraybuffer-to-hex

small conversion typescript utility

Npm package version TypeScript


About

This arraybuffer-to-hex little utility converts an ArrayBufer to hexdecimal string.

Usage

import { arrayBufferToHex } from '@obsessiveo/arraybuffer-to-hex';

const view = new Uint8Array([10, 255, 171]);
const result = arrayBufferToHex(view.buffer);

console.log(result); // 0affab

Package Sidebar

Install

npm i @obsessiveo/arraybuffer-to-hex

Weekly Downloads

0

Version

1.0.1

License

MIT

Unpacked Size

3.83 kB

Total Files

8

Last publish

Collaborators

  • obsessiveo