Garry's Mod Wiki

Revision Difference

net.WriteData#544634

<function name="WriteData" parent="net" type="libraryfunc"> <description>Writes a chunk of binary data to the message.</description> <realm>Shared</realm> <args> <arg name="binaryData" type="string">The binary data to be sent.</arg> <arg name="length" type="number">The length of the binary data to be sent, in bytes.</arg> <arg name="length" type="number" default="#binaryData">The length of the binary data to be sent, in bytes.</arg> </args> </function>