◆ BinaryWriter()
fiftyone.common.wrappers.data.BinaryWriter.BinaryWriter | ( | FileOutputStream | outputStream | ) | throws IOException |
Construct a new instance of the binary writer ready to write a data set to the file specified.
- Parameters
-
- outputStream - where the data file should be written
- Exceptions
-
- IOException -
Member Function Documentation
◆ writeByte()
void fiftyone.common.wrappers.data.BinaryWriter.writeByte ( byte value ) throws IOException Write a single byte to the output file.
- Parameters
-
- value - byte
- Exceptions
-
- IOException -
◆ writeBytes()
void fiftyone.common.wrappers.data.BinaryWriter.writeBytes ( byte [] value ) throws IOException Write a series of bytes to the output file.
- Parameters
-
- value - bytes
- Exceptions
-
- IOException -
◆ writeInt16()
void fiftyone.common.wrappers.data.BinaryWriter.writeInt16 ( short value ) throws IOException Write a short to the output file.
- Parameters
-
- value - short
- Exceptions
-
- IOException -
◆ writeInt32()
void fiftyone.common.wrappers.data.BinaryWriter.writeInt32 ( int value ) throws IOException Write an int to the output file.
- Parameters
-
- value - int
- Exceptions
-
- IOException -
◆ writeInt64()
void fiftyone.common.wrappers.data.BinaryWriter.writeInt64 ( long value ) throws IOException Write a long to the output file.
- Parameters
-
- value - long
- Exceptions
-
- IOException -