add static Lua-style functions: Bytearray.insert, Bytearray.remove, Bytearray.append

This commit is contained in:
MihailRis
2025-04-12 13:24:55 +03:00
parent 9169049530
commit fb07c86ea6
4 changed files with 73 additions and 51 deletions
+1
View File
@@ -266,6 +266,7 @@ end
local bytearray = require "core:internal/bytearray"
Bytearray = bytearray.FFIBytearray
Bytearray_as_string = bytearray.FFIBytearray_as_string
Bytearray_construct = Bytearray.__call
ffi = nil
math.randomseed(time.uptime() * 1536227939)