51Degrees Pipeline Java  4.1

51Degrees Pipeline for Java

fiftyone.common.wrappers.data.BinaryWriter Class Reference

Inheritance diagram for fiftyone.common.wrappers.data.BinaryWriter:

[legend]

Collaboration diagram for fiftyone.common.wrappers.data.BinaryWriter:

[legend]

Classes

interface  WritableSeekable

Public Member Functions

 BinaryWriter (FileOutputStream outputStream) throws IOException
Construct a new instance of the binary writer ready to write a data set to the file specified. More...
 BinaryWriter (ByteArrayOutputStream outputStream)
void  writeInt16 (short value) throws IOException
Write a short to the output file. More...
void  writeInt32 (int value) throws IOException
Write an int to the output file. More...
void  writeInt64 (long value) throws IOException
Write a long to the output file. More...
void  writeBytes (byte[] value) throws IOException
Write a series of bytes to the output file. More...
void  writeBytes (byte[] value, int length) throws IOException
void  writeByte (byte value) throws IOException
Write a single byte to the output file. More...
void  close () throws IOException

Constructor & Destructor Documentation

◆ 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 -