MCPcopy Create free account
hub / github.com/ReactTraining/classic-react-workshop / Buffer

Function Buffer

subjects/04-Testing/mocha-browser.js:7066–7077  ·  view source on GitHub ↗

* The Buffer constructor returns instances of `Uint8Array` that have their * prototype changed to `Buffer.prototype`. Furthermore, `Buffer` is a subclass of * `Uint8Array`, so the returned instances will have all the node `Buffer` methods * and the `Uint8Array` methods. Square bracket notation wo

(arg, encodingOrOffset, length)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

SafeBufferFunction · 0.85
mocha-browser.jsFile · 0.85

Calls 2

allocUnsafeFunction · 0.85
fromFunction · 0.85

Tested by

no test coverage detected