MCPcopy Create free account
hub / github.com/Roy3838/Observer / writeString

Function writeString

app/src/utils/audio/pcmUtils.ts:130–134  ·  view source on GitHub ↗
(view: DataView, offset: number, str: string)

Source from the content-addressed store, hash-verified

128}
129
130function writeString(view: DataView, offset: number, str: string): void {
131 for (let i = 0; i < str.length; i++) {
132 view.setUint8(offset + i, str.charCodeAt(i));
133 }
134}
135
136/**
137 * PCM Buffer - Accumulates audio chunks for batched processing

Callers 1

createWavBlobFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected