bare-buffer

2.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

176

Version

2.3.0

License

Apache-2.0

Unpacked Size

350 kB

Total Files

36

Last publish

Collaborators

  • mafintosh
  • kasperisager