Photon Server API
Public Member Functions | Properties | List of all members
ExitGames.IO.IBinaryWriter Interface Reference

The interface for a binary writer. More...

Inheritance diagram for ExitGames.IO.IBinaryWriter:
ExitGames.IO.BigEndianBinaryWriter

Public Member Functions

void WriteBoolean (bool value)
 Writes a boolean. More...
 
void WriteByte (byte value)
 Writes a byte. More...
 
void WriteBytes (byte[] value)
 Writes bytes. More...
 
void WriteChar (char value)
 Writes a char. More...
 
void WriteDouble (double value)
 write double. More...
 
void WriteSingle (float value)
 Writes a 32-bit floating point value. More...
 
void WriteInt16 (short value)
 Writes a short. More...
 
void WriteInt32 (int value)
 Writes an integer. More...
 
void WriteInt64 (long value)
 Writes a long. More...
 
void WriteUTF (string value)
 Writes an utf8 encoded string. More...
 

Properties

Stream Stream [get]
 Gets the underlying stream. More...
 

Detailed Description

The interface for a binary writer.

Member Function Documentation

void ExitGames.IO.IBinaryWriter.WriteBoolean ( bool  value)

Writes a boolean.

Parameters
valueThe value.

Implemented in ExitGames.IO.BigEndianBinaryWriter.

void ExitGames.IO.IBinaryWriter.WriteByte ( byte  value)

Writes a byte.

Parameters
valueThe value.

Implemented in ExitGames.IO.BigEndianBinaryWriter.

void ExitGames.IO.IBinaryWriter.WriteBytes ( byte[]  value)

Writes bytes.

Parameters
valueThe value.

Implemented in ExitGames.IO.BigEndianBinaryWriter.

void ExitGames.IO.IBinaryWriter.WriteChar ( char  value)

Writes a char.

Parameters
valueThe value.

Implemented in ExitGames.IO.BigEndianBinaryWriter.

void ExitGames.IO.IBinaryWriter.WriteDouble ( double  value)

write double.

Parameters
valueThe value.

Implemented in ExitGames.IO.BigEndianBinaryWriter.

void ExitGames.IO.IBinaryWriter.WriteInt16 ( short  value)

Writes a short.

Parameters
valueThe value.

Implemented in ExitGames.IO.BigEndianBinaryWriter.

void ExitGames.IO.IBinaryWriter.WriteInt32 ( int  value)

Writes an integer.

Parameters
valueThe value.

Implemented in ExitGames.IO.BigEndianBinaryWriter.

void ExitGames.IO.IBinaryWriter.WriteInt64 ( long  value)

Writes a long.

Parameters
valueThe value.

Implemented in ExitGames.IO.BigEndianBinaryWriter.

void ExitGames.IO.IBinaryWriter.WriteSingle ( float  value)

Writes a 32-bit floating point value.

Parameters
valueThe value.

Implemented in ExitGames.IO.BigEndianBinaryWriter.

void ExitGames.IO.IBinaryWriter.WriteUTF ( string  value)

Writes an utf8 encoded string.

Parameters
valueThe value.

Implemented in ExitGames.IO.BigEndianBinaryWriter.

Property Documentation

Stream ExitGames.IO.IBinaryWriter.Stream
get

Gets the underlying stream.