MCPcopy Index your code
hub / github.com/TruthHun/BookStack / uint8ArrayToBuffer

Function uint8ArrayToBuffer

static/word2md/mammoth.browser.js:3872–3878  ·  view source on GitHub ↗
(array)

Source from the content-addressed store, hash-verified

3870}
3871
3872function uint8ArrayToBuffer(array) {
3873 if (Buffer.from && Buffer.from !== Uint8Array.from) {
3874 return Buffer.from(array);
3875 } else {
3876 return new Buffer(array);
3877 }
3878}
3879
3880function splitPath(path) {
3881 var lastIndex = path.lastIndexOf("/");

Callers 1

readFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected