net.writeData and net.writeStream ordering
🌙 Lua•Updated 2 days ago•0 views
Order matters - writeStream consumes the rest of the buffer, so write your data BEFORE the stream; swapping the order lets the stream read but breaks the data.
Why can't I write both data and a stream in one net message
Order matters - writeStream consumes the rest of the buffer, so write your data BEFORE the stream; swapping the order lets the stream read but breaks the data.