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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 3.0.0
    1
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 3.0.0
    1
  • 2.0.0
    2
  • 1.0.1
    0
  • 1.0.0
    0

Package Sidebar

Install

npm i buffer-to-typed-array

Weekly Downloads

3

Version

3.0.0

License

ISC

Unpacked Size

2.64 kB

Total Files

4

Last publish

Collaborators

  • ahdinosaur