net.ReadData

From Garry's Mod
Jump to: navigation, search
 net.ReadData( )

Description

Reads pure binary data from the message.

WARNING

You must read information in same order as you write it.

Arguments

number length

The length of the data to be read, in bytes.

Returns

string

The binary data read, or a string containing one character with a byte of 0 if no data could be read.
Personal tools
Navigation