MCPcopy
hub / github.com/feross/buffer / SlowBuffer

Function SlowBuffer

index.js:332–337  ·  view source on GitHub ↗
(length)

Source from the content-addressed store, hash-verified

330}
331
332function SlowBuffer (length) {
333 if (+length != length) { // eslint-disable-line eqeqeq
334 length = 0
335 }
336 return Buffer.alloc(+length)
337}
338
339Buffer.isBuffer = function isBuffer (b) {
340 return b != null && b._isBuffer === true &&

Callers 3

test-buffer.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…