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

Function isSlowBuffer

static/word2md/mammoth.browser.js:12027–12029  ·  view source on GitHub ↗
(obj)

Source from the content-addressed store, hash-verified

12025
12026// For Node v0.10 support. Remove this eventually.
12027function isSlowBuffer (obj) {
12028 return typeof obj.readFloatLE === 'function' && typeof obj.slice === 'function' && isBuffer(obj.slice(0, 0))
12029}
12030
12031},{}],83:[function(require,module,exports){
12032var toString = {}.toString;

Callers 1

mammoth.browser.jsFile · 0.70

Calls 1

isBufferFunction · 0.70

Tested by

no test coverage detected