Project CASUAL
API for CASUAL
 All Classes Namespaces Functions Variables
Public Member Functions | List of all members
CASUAL.archiving.libpit.PitOutputStream Class Reference

Public Member Functions

 PitOutputStream (OutputStream outputStream)
 
void writeInt (int value) throws IOException
 
void writeShort (short value) throws IOException
 
void write (byte[] buffer, int offset, int length) throws IOException
 
 PitOutputStream (OutputStream outputStream)
 
void writeInt (int value) throws IOException
 
void writeShort (short value) throws IOException
 
void write (byte[] buffer, int offset, int length) throws IOException
 
 PitOutputStream (OutputStream outputStream)
 
void writeInt (int value) throws IOException
 
void writeShort (short value) throws IOException
 
void write (byte[] buffer, int offset, int length) throws IOException
 

Detailed Description

PitOutputStream provides a set of tools designed to assist with reading PIT files Original Files may be found here: https://github.com/Benjamin-Dobell/libpit–Java-/tree/master/libpit/src/au/com/glassechidna/libpit modified by: Adam Outler

Author
Benjamin Dobell

Constructor & Destructor Documentation

CASUAL.archiving.libpit.PitOutputStream.PitOutputStream ( OutputStream  outputStream)

creates an OutputStream for a PIT file

See Also
OutputStream
Parameters
outputStreamoutputstream to set
CASUAL.archiving.libpit.PitOutputStream.PitOutputStream ( OutputStream  outputStream)

creates an OutputStream for a PIT file

See Also
OutputStream
Parameters
outputStreamoutputstream to set
CASUAL.archiving.libpit.PitOutputStream.PitOutputStream ( OutputStream  outputStream)

creates an OutputStream for a PIT file

See Also
OutputStream
Parameters
outputStreamoutputstream to set

Member Function Documentation

void CASUAL.archiving.libpit.PitOutputStream.write ( byte[]  buffer,
int  offset,
int  length 
) throws IOException

writes a parameterized buffer to the outputstream

Parameters
bufferthe data.
offsetthe start offset in the data.
lengththe number of bytes to write.
See Also
OutputStream
Exceptions
IOException
void CASUAL.archiving.libpit.PitOutputStream.write ( byte[]  buffer,
int  offset,
int  length 
) throws IOException

writes a parameterized buffer to the outputstream

Parameters
bufferthe data.
offsetthe start offset in the data.
lengththe number of bytes to write.
See Also
OutputStream
Exceptions
IOException
void CASUAL.archiving.libpit.PitOutputStream.write ( byte[]  buffer,
int  offset,
int  length 
) throws IOException

writes a parameterized buffer to the outputstream

Parameters
bufferthe data.
offsetthe start offset in the data.
lengththe number of bytes to write.
See Also
OutputStream
Exceptions
IOException
void CASUAL.archiving.libpit.PitOutputStream.writeInt ( int  value) throws IOException

writes an integer as four bytes to the outputStream. C Unsigned int.

Parameters
valuean integer or four bytes to be written
See Also
OutputStream
Exceptions
IOException
void CASUAL.archiving.libpit.PitOutputStream.writeInt ( int  value) throws IOException

writes an integer as four bytes to the outputStream. C Unsigned int.

Parameters
valuean integer or four bytes to be written
See Also
OutputStream
Exceptions
IOException
void CASUAL.archiving.libpit.PitOutputStream.writeInt ( int  value) throws IOException

writes an integer as four bytes to the outputStream. C Unsigned int.

Parameters
valuean integer or four bytes to be written
See Also
OutputStream
Exceptions
IOException
void CASUAL.archiving.libpit.PitOutputStream.writeShort ( short  value) throws IOException

writes a short value as two bytes to the OutputStream

See Also
OutputStream
Parameters
valueshort value to be written
Exceptions
IOException
void CASUAL.archiving.libpit.PitOutputStream.writeShort ( short  value) throws IOException

writes a short value as two bytes to the OutputStream

See Also
OutputStream
Parameters
valueshort value to be written
Exceptions
IOException
void CASUAL.archiving.libpit.PitOutputStream.writeShort ( short  value) throws IOException

writes a short value as two bytes to the OutputStream

See Also
OutputStream
Parameters
valueshort value to be written
Exceptions
IOException

The documentation for this class was generated from the following file: