fix(tts): add non-null assertion in stepfun array access

Signed-off-by: baizhi958216 <1475289190@qq.com>
This commit is contained in:
baizhi958216
2026-06-11 11:16:53 +08:00
parent b63b694940
commit 94973bc6c6
+1 -1
View File
@@ -13,7 +13,7 @@ function arrayBufferToBase64(buffer: ArrayBuffer): string {
let binary = "";
const len = bytes.byteLength;
for (let i = 0; i < len; i++) {
binary += String.fromCharCode(bytes[i]);
binary += String.fromCharCode(bytes[i]!);
}
return btoa(binary);
}