Learn about our RFC process, Open RFC meetings & more.Join in the discussion! »

type-array-convert

0.0.1 • Public • Published

type-array-convert

Build Status

type-array-convert is TypeArray convert library.

Installation

npm install --save type-array-convert

Usage

Example :

var tac = require("type-array-convert");
 
var u8Array = new Uint8Array([0x01, 0x23, 0x45, 0x67]);
var out = tac.uint8toUint32(u8Array);
console.log(out);
// Uint32Array [ 19088743 ]
console.log(0x01234567);
// 19088743
 

For details, see test code. (basic.test.ts and advancd.test.ts)

License

MIT

Install

npm i type-array-convert

DownloadsWeekly Downloads

2

Version

0.0.1

License

MIT

Unpacked Size

11.6 kB

Total Files

7

Last publish

Collaborators

  • avatar