MCPcopy Index your code
hub / github.com/di-sukharev/opencommit / parseJSONFromBytes

Function parseJSONFromBytes

out/cli.cjs:52434–52436  ·  view source on GitHub ↗
(bytes)

Source from the content-addressed store, hash-verified

52432 return "";
52433 }
52434 if (buffer[0] === 239 && buffer[1] === 187 && buffer[2] === 191) {
52435 buffer = buffer.subarray(3);
52436 }
52437 const output = textDecoder.decode(buffer);
52438 return output;
52439 }

Callers

nothing calls this directly

Calls 2

utf8DecodeBytesFunction · 0.85
parseMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…