MCPcopy
hub / github.com/Exrick/xpay / binarySlice

Function binarySlice

xpay-code/src/main/resources/static/swagger/swagger-ui.js:8794–8802  ·  view source on GitHub ↗
(buf, start, end)

Source from the content-addressed store, hash-verified

8792}
8793
8794function binarySlice (buf, start, end) {
8795 var ret = ''
8796 end = Math.min(buf.length, end)
8797
8798 for (var i = start; i < end; i++) {
8799 ret += String.fromCharCode(buf[i])
8800 }
8801 return ret
8802}
8803
8804function hexSlice (buf, start, end) {
8805 var len = buf.length

Callers 1

slowToStringFunction · 0.85

Calls 1

minMethod · 0.80

Tested by

no test coverage detected