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

3.1.4 • 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

10,222

Version

3.1.4

License

Apache-2.0

Unpacked Size

977 kB

Total Files

31

Last publish

Collaborators

  • mafintosh
  • kasperisager