bare-buffer
TypeScript icon, indicating that this package has built-in type declarations

3.3.0 • Public • Published

bare-buffer

Native buffers for JavaScript.

npm i bare-buffer

Usage

const Buffer = require('bare-buffer')

const message = Buffer.from('hello')
const empty = Buffer.alloc(16)
const buffer = Buffer.allocUnsafe(4).fill(123)
const combined = Buffer.concat([buffer, buffer])

License

Apache-2.0

Readme

Keywords

none

Package Sidebar

Install

npm i bare-buffer

Weekly Downloads

14,160

Version

3.3.0

License

Apache-2.0

Unpacked Size

1.06 MB

Total Files

32

Last publish

Collaborators

  • mafintosh
  • kasperisager