This package has been deprecated

Author message:

this

array-buffer

1.0.3 • Public • Published

Array Buffer

Build Status npm Version License

Cast buffers to array buffers, and vice versa.

$ npm install array-buffer

Usage

This module exports two functions, toBuffer and toArrayBuffer.

import { toBuffer, toArrayBuffer } from 'array-buffer'

toBuffer(new ArrayBuffer(16)) // Buffer with byte length of 16
toArrayBuffer(new Buffer(16)) // ArrayBuffer with byte length of 16

License

This software is licensed under the MIT License.

Readme

Keywords

Package Sidebar

Install

npm i array-buffer

Weekly Downloads

1

Version

1.0.3

License

MIT

Last publish

Collaborators

  • 0x8890