BinaryWriter-class: BinaryWriter
Description
This class supports writing of bulk binary data to a connectionConstructor for BinaryWriter
class
Usage
BinaryWriter(output, byteOffset, dataType, bytesPerElement, endian = .Platform$endian)
Arguments
output
file name to write to or else a connection
object
byteOffset
the number of bytes to skip at the start of output
dataType
R data type of binary elements
bytesPerElement
number of bytes in each data element (e.g. 4 or 8 for floating point numbers)
endian
endianness of binary output connection
Slots
output
- the binary output connection
byteOffset
- the number of bytes to skip at the start of input
dataType
- the dataType of the binary Elements
bytesPerElement
- number of bytes in each data element (e.g. 4 or 8 for floating point numbers)
endian
- endianness of binary output connection