replace Bytearray with FFI implementation

This commit is contained in:
MihailRis
2025-04-07 20:48:12 +03:00
parent 794aa5b9cd
commit 303e861fbb
16 changed files with 125 additions and 333 deletions
+3 -1
View File
@@ -263,7 +263,9 @@ entities.get_all = function(uids)
return stdcomp.get_all(uids)
end
end
FFIBytearray = require "core:internal/bytearray"
local bytearray = require "core:internal/bytearray"
Bytearray = bytearray.FFIBytearray
Bytearray_as_string = bytearray.FFIBytearray_as_string
ffi = nil
math.randomseed(time.uptime() * 1536227939)