@whi/bytes-class

0.1.0 • Public • Published

new Bytes( ... )

An extension of Uint8Array

Overview

Install

npm i @whi/bytes-class

Usage

import crypto from 'crypto';
import { Bytes } from '@whi/bytes-class';

const bytes = new Bytes( crypto.randomBytes( 32 ) );

bytes.toString()
// "5ec58f8e29ad1349898828eb4ad6ad5e012e0b046ae6a4c6052ad0fd781fa4da"

Contributing

See CONTRIBUTING.md

/@whi/bytes-class/

    Package Sidebar

    Install

    npm i @whi/bytes-class

    Weekly Downloads

    4

    Version

    0.1.0

    License

    ISC

    Unpacked Size

    12.4 kB

    Total Files

    9

    Last publish

    Collaborators

    • brisebom