buffer
buffer copied to clipboard
The buffer module from node.js, for the browser.
if possible map it like filer-browserify? https://www.npmjs.com/package/filer-browserify
Would it be possible to publish a new version to npm? `6.0.3` [was published](https://www.npmjs.com/package/buffer?activeTab=versions) 3 years go and a handful of fixes have been pushed since then
Currently `Buffer` can be obtained by `window.buffer.Buffer`. But many application and library use `Buffer` as a global variable. They offen use `Buffer.from()` not `buffer.Buffer.from()`. I suggest that we can provide...
https://github.com/feross/buffer/blob/master/README.md mentions >If you do not use a bundler, you can use the [standalone script](https://bundle.run/buffer). this link https://bundle.run/buffer is currently returning (nginx) error 500 --- what content was this link...
Follow up to https://github.com/feross/buffer/pull/331 `standard` was in the `test` target, which I think is misleading when we can differentiate that in the GitHub pull requests using workflows (as I did...
It seems that Buffer 4.9.2, which is explicitly a browser polyfill, tries to access a `global` variable, which as far as I can tell, is only available on Node. Why...
I keep running into an error associated with an invalid or unexpected token at (VM9 [email protected]:1:2) and ([email protected]:1:2). I'm calling the library from "https://bundle.run/[email protected]". Most of the times it's usually...
6 months passed since #322, and the error seems to persist. I suggest that you replace the old link with the working one in READMEs or fix the old one...
``` import { Buffer } from 'buffer'; declare const messageRaw: ArrayBuffer; const message = Buffer.from(messageRaw); const headCorrect = message.slice(0, size).toString('utf-8'); // 57,57,97,102,101,102,56,57,97.... const headIncorrect = message.subarray(0, size).toString('utf-8'); // 99af... ```
I have the following index.js ```js const { File } = require('buffer'); console.log(new File(['Hello World'], 'hello.txt')) ``` `node index` succeeds on Node `v20.0.0` and `v18.16.0`. `node index` fails with the...