public class CtmInputStream extends DataInputStream
in| Constructor and Description |
|---|
CtmInputStream(InputStream in) |
| Modifier and Type | Method and Description |
|---|---|
static int |
interleavedRetrive(byte[] data,
int offset,
int stride) |
byte[] |
readCompressedData(int size) |
float |
readLittleFloat()
Reads floating point type stored in little endian (see readFloat() for
big endian)
|
float[] |
readLittleFloatArray(int count) |
int |
readLittleInt()
reads a single Integer value, in little edian order
|
int[] |
readLittleIntArray(int count) |
float[] |
readPackedFloats(int count,
int size) |
int[] |
readPackedInts(int count,
int size,
boolean signed) |
String |
readString() |
read, read, readBoolean, readByte, readChar, readDouble, readFloat, readFully, readFully, readInt, readLine, readLong, readShort, readUnsignedByte, readUnsignedShort, readUTF, readUTF, skipBytesavailable, close, mark, markSupported, read, reset, skippublic CtmInputStream(InputStream in)
public String readString() throws IOException
IOExceptionpublic int readLittleInt()
throws IOException
IOExceptionpublic int[] readLittleIntArray(int count)
throws IOException
IOExceptionpublic final float readLittleFloat()
throws IOException
IOException - if an IO error occurspublic float[] readLittleFloatArray(int count)
throws IOException
IOExceptionpublic int[] readPackedInts(int count,
int size,
boolean signed)
throws IOException
IOExceptionpublic float[] readPackedFloats(int count,
int size)
throws IOException
IOExceptionpublic byte[] readCompressedData(int size)
throws IOException
IOExceptionpublic static int interleavedRetrive(byte[] data,
int offset,
int stride)
Copyright © 2013. All Rights Reserved.