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

Public Member Functions

 PitInputStream (InputStream inputStream)
 
int readInt () throws IOException
 
short readShort () throws IOException
 
int read (byte[] buffer, int offset, int length) throws IOException
 
int read ()
 
 PitInputStream (InputStream inputStream)
 
int readInt () throws IOException
 
short readShort () throws IOException
 
int read (byte[] buffer, int offset, int length) throws IOException
 
int read ()
 
 PitInputStream (InputStream inputStream)
 
int readInt () throws IOException
 
short readShort () throws IOException
 
int read (byte[] buffer, int offset, int length) throws IOException
 
int read ()
 

Detailed Description

PitInputStream provides tools used for writing a pit. 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.PitInputStream.PitInputStream ( InputStream  inputStream)

Constructs a PitInputStream

See Also
InputStream
Parameters
inputStreamPIT as InputStream
CASUAL.archiving.libpit.PitInputStream.PitInputStream ( InputStream  inputStream)

Constructs a PitInputStream

See Also
InputStream
Parameters
inputStreamPIT as InputStream
CASUAL.archiving.libpit.PitInputStream.PitInputStream ( InputStream  inputStream)

Constructs a PitInputStream

See Also
InputStream
Parameters
inputStreamPIT as InputStream

Member Function Documentation

int CASUAL.archiving.libpit.PitInputStream.read ( byte[]  buffer,
int  offset,
int  length 
) throws IOException

reads parameterized bytes from the InputStream

Parameters
bufferbyte buffer
offsetbytes to discard
lengthnumber of bytes to read
Returns
value requested from stream, specified by buffer, offset and length
See Also
InputStream
Exceptions
IOException
int CASUAL.archiving.libpit.PitInputStream.read ( byte[]  buffer,
int  offset,
int  length 
) throws IOException

reads parameterized bytes from the InputStream

Parameters
bufferbyte buffer
offsetbytes to discard
lengthnumber of bytes to read
Returns
value requested from stream, specified by buffer, offset and length
See Also
InputStream
Exceptions
IOException
int CASUAL.archiving.libpit.PitInputStream.read ( byte[]  buffer,
int  offset,
int  length 
) throws IOException

reads parameterized bytes from the InputStream

Parameters
bufferbyte buffer
offsetbytes to discard
lengthnumber of bytes to read
Returns
value requested from stream, specified by buffer, offset and length
See Also
InputStream
Exceptions
IOException
int CASUAL.archiving.libpit.PitInputStream.read ( )

reads a byte from the InputStream

See Also
InputStream
Returns
one byte
int CASUAL.archiving.libpit.PitInputStream.read ( )

reads a byte from the InputStream

See Also
InputStream
Returns
one byte
int CASUAL.archiving.libpit.PitInputStream.read ( )

reads a byte from the InputStream

See Also
InputStream
Returns
one byte
int CASUAL.archiving.libpit.PitInputStream.readInt ( ) throws IOException

reads an int (four bytes) from the input stream

Returns
integer value from four bytes
See Also
InputStream
Exceptions
IOException
int CASUAL.archiving.libpit.PitInputStream.readInt ( ) throws IOException

reads an int (four bytes) from the input stream

Returns
integer value from four bytes
See Also
InputStream
Exceptions
IOException
int CASUAL.archiving.libpit.PitInputStream.readInt ( ) throws IOException

reads an int (four bytes) from the input stream

Returns
integer value from four bytes
See Also
InputStream
Exceptions
IOException
short CASUAL.archiving.libpit.PitInputStream.readShort ( ) throws IOException

reads a short (two bytes) from the inputstream

Returns
short value from two bytes
See Also
InputStream
Exceptions
IOException
short CASUAL.archiving.libpit.PitInputStream.readShort ( ) throws IOException

reads a short (two bytes) from the inputstream

Returns
short value from two bytes
See Also
InputStream
Exceptions
IOException
short CASUAL.archiving.libpit.PitInputStream.readShort ( ) throws IOException

reads a short (two bytes) from the inputstream

Returns
short value from two bytes
See Also
InputStream
Exceptions
IOException

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