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

Function read6

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

Source from the content-addressed store, hash-verified

35 return String.fromCharCode(buffer[cursor], buffer[cursor + 1], buffer[cursor + 2], buffer[cursor + 3], buffer[cursor + 4]);
36};
37const read6 = (buffer: Uint8Array, cursor: number) => {
38 return String.fromCharCode(buffer[cursor], buffer[cursor + 1], buffer[cursor + 2], buffer[cursor + 3], buffer[cursor + 4], buffer[cursor + 5]);
39};
40const read7 = (buffer: Uint8Array, cursor: number) => {
41 return String.fromCharCode(buffer[cursor], buffer[cursor + 1], buffer[cursor + 2], buffer[cursor + 3], buffer[cursor + 4], buffer[cursor + 5], buffer[cursor + 6]);
42};

Callers 1

readLatin1StringFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected