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

Function latin1Slice

static/word2md/mammoth.browser.js:10715–10723  ·  view source on GitHub ↗
(buf, start, end)

Source from the content-addressed store, hash-verified

10713}
10714
10715function latin1Slice (buf, start, end) {
10716 var ret = ''
10717 end = Math.min(buf.length, end)
10718
10719 for (var i = start; i < end; ++i) {
10720 ret += String.fromCharCode(buf[i])
10721 }
10722 return ret
10723}
10724
10725function hexSlice (buf, start, end) {
10726 var len = buf.length

Callers 1

slowToStringFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected