add Bytearray '__pairs` metamethod
This commit is contained in:
@@ -279,7 +279,7 @@ end
|
||||
local bytearray = require "core:internal/bytearray"
|
||||
Bytearray = bytearray.FFIBytearray
|
||||
Bytearray_as_string = bytearray.FFIBytearray_as_string
|
||||
Bytearray_construct = Bytearray.__call
|
||||
Bytearray_construct = function(...) return Bytearray(...) end
|
||||
ffi = nil
|
||||
|
||||
math.randomseed(time.uptime() * 1536227939)
|
||||
|
||||
Reference in New Issue
Block a user