MCPcopy Create free account
hub / github.com/JunJD/alading / writeString

Function writeString

src/lib/utils.ts:70–74  ·  view source on GitHub ↗
(view: DataView, offset: number, string: string)

Source from the content-addressed store, hash-verified

68}
69
70function writeString(view: DataView, offset: number, string: string) {
71 for (let i = 0; i < string.length; i++) {
72 view.setUint8(offset + i, string.charCodeAt(i));
73 }
74}

Callers 1

int16ArrayToWavBufferFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected