So I made a buffer like this:
local stream = buffer.create(6) -- stream buffer
local enemyID = buffer.writeu16(stream, 0, tonumber(enemy)) -- writeu16
local amountOfSpawns = buffer.writeu16(stream, 2, amount)
local successionOfSpawns = buffer.writeu16(stream, 4, succesion)
And I was wondering on how I could change the last variable (successionOfSpawns) from a int 16 into a 32 float. How much bytes does a 32 float take up and to what amount would I have to increase my buffers size? Thanks