MCPcopy Create free account
hub / github.com/TruthHun/BookStack / SlowBuffer

Function SlowBuffer

static/word2md/mammoth.browser.js:10014–10019  ·  view source on GitHub ↗
(length)

Source from the content-addressed store, hash-verified

10012}
10013
10014function SlowBuffer (length) {
10015 if (+length != length) { // eslint-disable-line eqeqeq
10016 length = 0
10017 }
10018 return Buffer.alloc(+length)
10019}
10020
10021Buffer.isBuffer = function isBuffer (b) {
10022 return !!(b != null && b._isBuffer)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected