3rd Eye Scene C#
3rd Eye Scene C# documentation
Tes::IO::NetworkReader Class Reference

A BinaryReader implementation designed to read data from network Endian (big) to the local host Endian. More...

List of all members.

Public Member Functions

 NetworkReader (Stream stream)
 Create a reader to read from the given stream .
 NetworkReader (Stream stream, Encoding encoding)
 Create a reader to read from the given stream with encoding.
override float ReadSingle ()
 Read a single precision floating point value.
override double ReadDouble ()
 Read a double precision floating point value.
override short ReadInt16 ()
 Read a 16-bit integer value.
override ushort ReadUInt16 ()
 Read a 16-bit integer value.
override int ReadInt32 ()
 Read a 32-bit integer value.
override uint ReadUInt32 ()
 Read a 32-bit integer value.
override long ReadInt64 ()
 Read a 64-bit integer value.
override ulong ReadUInt64 ()
 Read a 64-bit integer value.

Detailed Description

A BinaryReader implementation designed to read data from network Endian (big) to the local host Endian.

See BinaryReader class for details on possible exceptions throw.


Constructor & Destructor Documentation

Tes::IO::NetworkReader::NetworkReader ( Stream  stream) [inline]

Create a reader to read from the given stream .

Parameters:
streamThe stream to read from.
Tes::IO::NetworkReader::NetworkReader ( Stream  stream,
Encoding  encoding 
) [inline]

Create a reader to read from the given stream with encoding.

See BinaryReader constructor fo details on encoding .

Parameters:
streamThe stream to read from.
encodingThe stream encoding.

Member Function Documentation

override double Tes::IO::NetworkReader::ReadDouble ( ) [inline]

Read a double precision floating point value.

Returns:
The requested value.
override short Tes::IO::NetworkReader::ReadInt16 ( ) [inline]

Read a 16-bit integer value.

Returns:
The requested value.
override int Tes::IO::NetworkReader::ReadInt32 ( ) [inline]

Read a 32-bit integer value.

Returns:
The requested value.
override long Tes::IO::NetworkReader::ReadInt64 ( ) [inline]

Read a 64-bit integer value.

Returns:
The requested value.
override float Tes::IO::NetworkReader::ReadSingle ( ) [inline]

Read a single precision floating point value.

Returns:
The requested value.
override ushort Tes::IO::NetworkReader::ReadUInt16 ( ) [inline]

Read a 16-bit integer value.

Returns:
The requested value.
override uint Tes::IO::NetworkReader::ReadUInt32 ( ) [inline]

Read a 32-bit integer value.

Returns:
The requested value.
override ulong Tes::IO::NetworkReader::ReadUInt64 ( ) [inline]

Read a 64-bit integer value.

Returns:
The requested value.

The documentation for this class was generated from the following file:
 All Classes Namespaces Functions Variables Enumerations Properties Events