mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
add static Lua-style functions: Bytearray.insert, Bytearray.remove, Bytearray.append
This commit is contained in:
parent
9169049530
commit
fb07c86ea6
4 changed files with 73 additions and 51 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue