MCPcopy Index your code
hub / github.com/creationix/js-git / parseOct

Function parseOct

lib/object-codec.js:251–257  ·  view source on GitHub ↗
(buffer, start, end)

Source from the content-addressed store, hash-verified

249}
250
251function parseOct(buffer, start, end) {
252 var val = 0;
253 while (start < end) {
254 val = (val << 3) + buffer[start++] - 0x30;
255 }
256 return val;
257}
258
259function parseDec(buffer, start, end) {
260 var val = 0;

Callers 1

decodeTreeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected