MCPcopy Create free account
hub / github.com/apache/fory / read4

Function read4

javascript/packages/core/lib/reader/string.ts:31–33  ·  view source on GitHub ↗
(buffer: Uint8Array, cursor: number)

Source from the content-addressed store, hash-verified

29 return String.fromCharCode(buffer[cursor], buffer[cursor + 1], buffer[cursor + 2]);
30};
31const read4 = (buffer: Uint8Array, cursor: number) => {
32 return String.fromCharCode(buffer[cursor], buffer[cursor + 1], buffer[cursor + 2], buffer[cursor + 3]);
33};
34const read5 = (buffer: Uint8Array, cursor: number) => {
35 return String.fromCharCode(buffer[cursor], buffer[cursor + 1], buffer[cursor + 2], buffer[cursor + 3], buffer[cursor + 4]);
36};

Callers 1

readLatin1StringFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected