add U16view, I16view, U32view, I32view classes

This commit is contained in:
MihailRis
2025-11-02 01:17:56 +03:00
parent 86a4060a68
commit aa54e900d9
4 changed files with 69 additions and 9 deletions
+2 -2
View File
@@ -19,10 +19,10 @@ function audio.fetch_input(token, size)
size = size or MAX_FETCH
if audio_input_tokens_store[token] then
if #total_fetch >= size then
return total_fetch:sub(1, size)
return total_fetch:slice(1, size)
end
total_fetch:append(_audio_fetch_input(size - #total_fetch))
return total_fetch:sub()
return total_fetch:slice()
end
error("access denied")
end