public class PFMInputStream extends FilterInputStream
in
Constructor and Description |
---|
PFMInputStream(InputStream in)
Constructs a PFMInputStream based on an InputStream representing the
PFM file.
|
Modifier and Type | Method and Description |
---|---|
short |
readByte()
Parses a one byte value out of the stream.
|
long |
readInt()
Parses a four byte value out of the stream.
|
int |
readShort()
Parses a two byte value out of the stream.
|
String |
readString()
Parses a zero-terminated string out of the stream.
|
available, close, mark, markSupported, read, read, read, reset, skip
public PFMInputStream(InputStream in)
in
- The stream from which to read the PFM filepublic short readByte() throws IOException
IOException
- In case of an I/O problempublic int readShort() throws IOException
IOException
- In case of an I/O problempublic long readInt() throws IOException
IOException
- In case of an I/O problempublic String readString() throws IOException
IOException
- In case of an I/O problemCopyright © 2007-2019. All Rights Reserved.