Provides methods to write binary data into a stream.
More...
Provides methods to write binary data into a stream.
◆ BigEndianBinaryWriter()
ExitGames.IO.BigEndianBinaryWriter.BigEndianBinaryWriter |
( |
Stream |
stream | ) |
|
|
inline |
◆ WriteBoolean()
void ExitGames.IO.BigEndianBinaryWriter.WriteBoolean |
( |
bool |
value | ) |
|
|
inline |
◆ WriteByte() [1/2]
void ExitGames.IO.BigEndianBinaryWriter.WriteByte |
( |
byte |
value | ) |
|
|
inline |
◆ WriteByte() [2/2]
static void ExitGames.IO.BigEndianBinaryWriter.WriteByte |
( |
Stream |
stream, |
|
|
byte |
value |
|
) |
| |
|
inlinestatic |
Writes a byte to the stream.
- Parameters
-
stream | The stream. |
value | The value. |
◆ WriteBytes()
void ExitGames.IO.BigEndianBinaryWriter.WriteBytes |
( |
byte[] |
value | ) |
|
|
inline |
◆ WriteChar()
void ExitGames.IO.BigEndianBinaryWriter.WriteChar |
( |
char |
value | ) |
|
|
inline |
◆ WriteDouble()
void ExitGames.IO.BigEndianBinaryWriter.WriteDouble |
( |
double |
value | ) |
|
|
inline |
Writes an eight-byte floating-point value to the current stream and advances the stream position by eight bytes.
- Parameters
-
value | The eight-byte floating-point value to write. |
Implements ExitGames.IO.IBinaryWriter.
◆ WriteInt16() [1/2]
void ExitGames.IO.BigEndianBinaryWriter.WriteInt16 |
( |
short |
value | ) |
|
|
inline |
◆ WriteInt16() [2/2]
static void ExitGames.IO.BigEndianBinaryWriter.WriteInt16 |
( |
Stream |
stream, |
|
|
short |
value |
|
) |
| |
|
inlinestatic |
Writes a short to the stream.
- Parameters
-
stream | The stream. |
value | The value. |
◆ WriteInt32()
void ExitGames.IO.BigEndianBinaryWriter.WriteInt32 |
( |
int |
value | ) |
|
|
inline |
◆ WriteInt64()
void ExitGames.IO.BigEndianBinaryWriter.WriteInt64 |
( |
long |
value | ) |
|
|
inline |
◆ WriteSingle()
void ExitGames.IO.BigEndianBinaryWriter.WriteSingle |
( |
float |
value | ) |
|
|
inline |
Writes an four-byte floating-point value to the current stream and advances the stream position by eight bytes.
- Parameters
-
value | The eight-byte floating-point value to write. |
Implements ExitGames.IO.IBinaryWriter.
◆ WriteUTF()
void ExitGames.IO.BigEndianBinaryWriter.WriteUTF |
( |
string |
value | ) |
|
|
inline |
◆ Stream
Stream ExitGames.IO.BigEndianBinaryWriter.Stream |
|
get |
Gets the underlying stream.