Introducing npm Teams! Private packages + team management tools.Learn more »

buffer-to-typed-array

3.0.0 • Public • Published

buffer-to-typed-array

converts Buffers to TypedArrays.

stable

install

with npm, do:

npm i --save buffer-to-typed-array

usage

var toTypedArray = require('buffer-to-typed-array');
var toInt16 = toTypedArray('int16')
var buf = new Buffer([0x01, 0x02, 0x03, 0x04])
var arr = toInt16(buf)

license

ISC

Install

npm i buffer-to-typed-array

DownloadsWeekly Downloads

4

Version

3.0.0

License

ISC

Unpacked Size

2.64 kB

Total Files

4

Last publish

Collaborators

  • avatar