mirror of
https://github.com/gvx/bitser.git
synced 2024-11-24 06:54:20 +00:00
Actually pass size along
This commit is contained in:
parent
6b8208a991
commit
40f5cab917
@ -338,8 +338,8 @@ end
|
||||
|
||||
return {dumps = function(value)
|
||||
return ffi.string(serialize(value))
|
||||
end, loadData = function(data)
|
||||
return deserialize(Buffer_newDataReader(data))
|
||||
end, loadData = function(data, size)
|
||||
return deserialize(Buffer_newDataReader(data, size))
|
||||
end, loads = function(str)
|
||||
return deserialize(Buffer_newReader(str))
|
||||
end, register = function(name, resource)
|
||||
|
Loading…
Reference in New Issue
Block a user