Package org.fressian.impl
Class RawInput
- java.lang.Object
-
- org.fressian.impl.RawInput
-
- All Implemented Interfaces:
java.io.Closeable,java.lang.AutoCloseable
public class RawInput extends java.lang.Object implements java.io.Closeable
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()intgetBytesRead()voidreadFully(byte[] bytes, int offset, int length)intreadRawByte()doublereadRawDouble()floatreadRawFloat()longreadRawInt16()longreadRawInt24()longreadRawInt32()longreadRawInt40()longreadRawInt48()longreadRawInt64()longreadRawInt8()voidreset()voidvalidateChecksum()
-
-
-
Method Detail
-
readRawByte
public int readRawByte() throws java.io.IOException- Throws:
java.io.IOException
-
readRawInt8
public long readRawInt8() throws java.io.IOException- Throws:
java.io.IOException
-
readRawInt16
public long readRawInt16() throws java.io.IOException- Throws:
java.io.IOException
-
readRawInt24
public long readRawInt24() throws java.io.IOException- Throws:
java.io.IOException
-
readRawInt32
public long readRawInt32() throws java.io.IOException- Throws:
java.io.IOException
-
readRawInt40
public long readRawInt40() throws java.io.IOException- Throws:
java.io.IOException
-
readRawInt48
public long readRawInt48() throws java.io.IOException- Throws:
java.io.IOException
-
readRawInt64
public long readRawInt64() throws java.io.IOException- Throws:
java.io.IOException
-
readRawFloat
public float readRawFloat() throws java.io.IOException- Throws:
java.io.IOException
-
readRawDouble
public double readRawDouble() throws java.io.IOException- Throws:
java.io.IOException
-
readFully
public void readFully(byte[] bytes, int offset, int length) throws java.io.IOException- Throws:
java.io.IOException
-
getBytesRead
public int getBytesRead()
-
reset
public void reset()
-
close
public void close() throws java.io.IOException- Specified by:
closein interfacejava.lang.AutoCloseable- Specified by:
closein interfacejava.io.Closeable- Throws:
java.io.IOException
-
validateChecksum
public void validateChecksum() throws java.io.IOException- Throws:
java.io.IOException
-
-