Actually pass size along

This commit is contained in:
Robin Wellner 2016-02-16 02:48:39 +01:00
parent 6b8208a991
commit 40f5cab917

View File

@ -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)