A BinaryWriter designed to write to network Endian (big).
More...
List of all members.
Public Member Functions |
| NetworkWriter () |
| Default constructor.
|
| NetworkWriter (Stream stream) |
| Create a writer to writer to the given stream .
|
| NetworkWriter (Stream stream, Encoding encoding) |
| Create a writer to writer to the given stream with encoding.
|
override void | Write (double value) |
| Write a double precision floating point value.
|
override void | Write (float value) |
| Write a single precision floating point value.
|
override void | Write (short value) |
| Write a 16-bit integer value.
|
override void | Write (ushort value) |
| Write a 16-bit integer value.
|
override void | Write (int value) |
| Write a 32-bit integer value.
|
override void | Write (uint value) |
| Write a 32-bit integer value.
|
override void | Write (long value) |
| Write a 64-bit integer value.
|
override void | Write (ulong value) |
| Write a 64-bit integer value.
|
Detailed Description
A BinaryWriter designed to write to network Endian (big).
See BinaryWriter class for details on possible exceptions throw.
Constructor & Destructor Documentation
Tes::IO::NetworkWriter::NetworkWriter |
( |
Stream |
stream | ) |
[inline] |
Create a writer to writer to the given stream .
- Parameters:
-
stream | The stream to write to. |
Tes::IO::NetworkWriter::NetworkWriter |
( |
Stream |
stream, |
|
|
Encoding |
encoding |
|
) |
| [inline] |
Create a writer to writer to the given stream with encoding.
See BinaryReader constructor fo details on encoding .
- Parameters:
-
stream | The stream to write to. |
encoding | The stream encoding. |
Member Function Documentation
override void Tes::IO::NetworkWriter::Write |
( |
double |
value | ) |
[inline] |
Write a double precision floating point value.
- Parameters:
-
override void Tes::IO::NetworkWriter::Write |
( |
ulong |
value | ) |
[inline] |
Write a 64-bit integer value.
- Parameters:
-
override void Tes::IO::NetworkWriter::Write |
( |
long |
value | ) |
[inline] |
Write a 64-bit integer value.
- Parameters:
-
override void Tes::IO::NetworkWriter::Write |
( |
uint |
value | ) |
[inline] |
Write a 32-bit integer value.
- Parameters:
-
override void Tes::IO::NetworkWriter::Write |
( |
int |
value | ) |
[inline] |
Write a 32-bit integer value.
- Parameters:
-
override void Tes::IO::NetworkWriter::Write |
( |
ushort |
value | ) |
[inline] |
Write a 16-bit integer value.
- Parameters:
-
override void Tes::IO::NetworkWriter::Write |
( |
short |
value | ) |
[inline] |
Write a 16-bit integer value.
- Parameters:
-
override void Tes::IO::NetworkWriter::Write |
( |
float |
value | ) |
[inline] |
Write a single precision floating point value.
- Parameters:
-
The documentation for this class was generated from the following file: