This commit is contained in:
MihailRis 2025-04-12 15:32:26 +03:00
parent 0a49e4fa92
commit da3f3d546f

View File

@ -191,14 +191,8 @@ local FFIBytearray = {
return bytearray_type(malloc(n), n, n)
end
end,
append = append,
insert = insert,
remove = remove,
trim = trim_buffer,
clear = clear,
reserve = reserve,
get_capacity = get_capacity,
}
table.merge(FFIBytearray, bytearray_methods)
local function FFIBytearray_as_string(bytes)
local t = type(bytes)