IBinaryWriter
Description
- Derived from
- Extended by
Base interface for classes that sequentially write data to a binary stream.
The methods of this interface write multibyte values which are affected by byte order.
Public / Methods
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.