Code: Select all
buffer[ size ] = serializeValue( data, "_" )
Code: Select all
buffer[ 1 ] = serializeValue( data, "_" )
A simple way of fixing this would, if I am correct, be this:
Code: Select all
local final = serializeValue( data, "_" )
buffer[size] = final