IBinaryWriter
Description
- Derived from
- Extended by
Base interface for classes that sequentially write data to a binary stream.
Public / Methods
WriteBools
Writes 8-bit boolean values to the data stream.
Calling this method is equivalent to calling WriteBool sequentially for each element in the given array in segment but may be implemented in a more efficient way.
- IOException
-
If an I/O error has occurred.
WriteChar
Writes an unsigned 16-bit UTF-16 code unit to the stream.
- IOException
-
If an I/O error has occurred.
WriteChars
Writes unsigned 16-bit UTF-16 code units to the data stream.
Calling this method is equivalent to calling WriteChar sequentially for each element in the given array in segment but may be implemented in a more efficient way.
- IOException
-
If an I/O error has occurred.
WriteFloat32
Writes a 32-bit floating point value to the data stream.
- IOException
-
If an I/O error has occurred.
WriteFloat32s
Writes 32-bit floating point values to the data stream.
Calling this method is equivalent to calling WriteFloat32 sequentially for each element in the given array in segment but may be implemented in a more efficient way.
- IOException
-
If an I/O error has occurred.
WriteFloat64
Writes a 64-bit floating point value to the data stream.
- IOException
-
If an I/O error has occurred.
WriteFloat64s
Writes 64-bit floating point values to the data stream.
Calling this method is equivalent to calling WriteFloat64 sequentially for each element in the given array in segment but may be implemented in a more efficient way.
- IOException
-
If an I/O error has occurred.
WriteInt16
Writes a signed 16-bit integer value to the data stream.
- IOException
-
If an I/O error has occurred.
WriteInt16s
Writes signed 16-bit integer values to the data stream.
Calling this method is equivalent to calling WriteInt16 sequentially for each element in the given array in segment but may be implemented in a more efficient way.
- IOException
-
If an I/O error has occurred.
WriteInt32
Writes a signed 32-bit integer value to the data stream.
- IOException
-
If an I/O error has occurred.
WriteInt32s
Writes signed 32-bit integer values to the data stream.
Calling this method is equivalent to calling WriteInt32 sequentially for each element in the given array in segment but may be implemented in a more efficient way.
- IOException
-
If an I/O error has occurred.
WriteInt64
Writes a signed 64-bit integer value to the data stream.
- IOException
-
If an I/O error has occurred.
WriteInt64s
Writes signed 64-bit integer values to the data stream.
Calling this method is equivalent to calling WriteInt64 sequentially for each element in the given array in segment but may be implemented in a more efficient way.
- IOException
-
If an I/O error has occurred.
WriteInt8
Writes a signed 8-bit integer value to the stream.
- IOException
-
If an I/O error has occurred.
WriteInt8s
Writes signed 8-bit integer values to the data stream.
Calling this method is equivalent to calling WriteInt8 sequentially for each element in the given array in segment but may be implemented in a more efficient way.
- IOException
-
If an I/O error has occurred.
Extensions
WriteVarInt32
Writes a 32-bit value to the stream, using variable coding from one to five bytes.
The encoding is independent on byte endianness.
- IOException
-
If an I/O error has occurred.
- See also
WriteVarInt64
Writes a 64-bit value to the stream, using variable coding from one to nine (with shortcut opt coding) or ten (without shortcut opt coding) bytes.
The encoding is independent on byte endianness.
- IOException
-
If an I/O error has occurred.
- See also
WriteVarUInt32
Writes a 32-bit value to the stream, using variable coding from one to five bytes.
The encoding is independent on byte endianness.
- IOException
-
If an I/O error has occurred.
- See also
WriteVarUInt64
Writes a 64-bit value to the stream, using variable coding from one to nine (with shortcut opt coding) or ten (without shortcut opt coding) bytes.
The encoding is independent on byte endianness.
- IOException
-
If an I/O error has occurred.
- See also