BitStream Class  

Scripting > Runtime Classes > BitStream

The BitStream class represents seralized variables, packed into a stream.

Data can be serialized, transmitted, and then received by remote clients by using this class. See the Network View component reference page for general information on network synchronization and the Network.OnSerializeNetworkView function for more information.

Variables
isReading

Is the BitStream currently being read? See Network.OnSerializeNetworkView.

isWriting

Is the BitStream currently being written? See Network.OnSerializeNetworkView.

Functions
Serialize

The BitStream class can serialize several different types of variables.