summaryrefslogtreecommitdiff
path: root/node_modules/buffer-alloc/readme.md
diff options
context:
space:
mode:
authorLinuxWizard42 <computerwizard@linuxmail.org>2022-10-12 23:08:57 +0300
committerLinuxWizard42 <computerwizard@linuxmail.org>2022-10-12 23:08:57 +0300
commit726b81b19251674e149ccfbb1abacbd837fc6db0 (patch)
treefbdbb227dc01357eb76e8222d76185bc124c5ca6 /node_modules/buffer-alloc/readme.md
parent34f0890e175698940d49238097579f44e4d78c89 (diff)
downloadFlashRunner-726b81b19251674e149ccfbb1abacbd837fc6db0.tar.gz
FlashRunner-726b81b19251674e149ccfbb1abacbd837fc6db0.tar.zst
Removed files that should not have been included in git
Diffstat (limited to 'node_modules/buffer-alloc/readme.md')
-rw-r--r--node_modules/buffer-alloc/readme.md43
1 files changed, 0 insertions, 43 deletions
diff --git a/node_modules/buffer-alloc/readme.md b/node_modules/buffer-alloc/readme.md
deleted file mode 100644
index 80c7d7b..0000000
--- a/node_modules/buffer-alloc/readme.md
+++ /dev/null
@@ -1,43 +0,0 @@
-# Buffer Alloc
-
-A [ponyfill](https://ponyfill.com) for `Buffer.alloc`.
-
-Works as Node.js: `v7.0.0` <br>
-Works on Node.js: `v0.10.0`
-
-## Installation
-
-```sh
-npm install --save buffer-alloc
-```
-
-## Usage
-
-```js
-const alloc = require('buffer-alloc')
-
-console.log(alloc(4))
-//=> <Buffer 00 00 00 00>
-
-console.log(alloc(6, 0x41))
-//=> <Buffer 41 41 41 41 41 41>
-
-console.log(alloc(10, 'linus', 'utf8'))
-//=> <Buffer 6c 69 6e 75 73 6c 69 6e 75 73>
-```
-
-## API
-
-### alloc(size[, fill[, encoding]])
-
-- `size` &lt;Integer&gt; The desired length of the new `Buffer`
-- `fill` &lt;String&gt; | &lt;Buffer&gt; | &lt;Integer&gt; A value to pre-fill the new `Buffer` with. **Default:** `0`
-- `encoding` &lt;String&gt; If `fill` is a string, this is its encoding. **Default:** `'utf8'`
-
-Allocates a new `Buffer` of `size` bytes. If `fill` is `undefined`, the `Buffer` will be zero-filled.
-
-## See also
-
-- [buffer-alloc-unsafe](https://github.com/LinusU/buffer-alloc-unsafe) A ponyfill for `Buffer.allocUnsafe`
-- [buffer-fill](https://github.com/LinusU/buffer-fill) A ponyfill for `Buffer.fill`
-- [buffer-from](https://github.com/LinusU/buffer-from) A ponyfill for `Buffer.from`