Package pixy.io
Interface ReadStrategy
- All Known Implementing Classes:
ReadStrategyII
,ReadStrategyMM
public interface ReadStrategy
- Version:
- 1.0 12/27/2012
- Author:
- Wen Yu, yuwen_66@yahoo.com
-
Method Summary
Modifier and Type Method Description int
readInt(byte[] buf, int start_idx)
int
readInt(java.io.InputStream is)
long
readLong(byte[] buf, int start_idx)
long
readLong(java.io.InputStream is)
float
readS15Fixed16Number(byte[] buf, int start_idx)
float
readS15Fixed16Number(java.io.InputStream is)
short
readShort(byte[] buf, int start_idx)
short
readShort(java.io.InputStream is)
float
readU16Fixed16Number(byte[] buf, int start_idx)
float
readU16Fixed16Number(java.io.InputStream is)
float
readU8Fixed8Number(byte[] buf, int start_idx)
float
readU8Fixed8Number(java.io.InputStream is)
long
readUnsignedInt(byte[] buf, int start_idx)
long
readUnsignedInt(java.io.InputStream is)
int
readUnsignedShort(byte[] buf, int start_idx)
int
readUnsignedShort(java.io.InputStream is)
-
Method Details
-
readInt
int readInt(byte[] buf, int start_idx) -
readInt
int readInt(java.io.InputStream is) throws java.io.IOException- Throws:
java.io.IOException
-
readLong
long readLong(byte[] buf, int start_idx) -
readLong
long readLong(java.io.InputStream is) throws java.io.IOException- Throws:
java.io.IOException
-
readS15Fixed16Number
float readS15Fixed16Number(byte[] buf, int start_idx) -
readS15Fixed16Number
float readS15Fixed16Number(java.io.InputStream is) throws java.io.IOException- Throws:
java.io.IOException
-
readShort
short readShort(byte[] buf, int start_idx) -
readShort
short readShort(java.io.InputStream is) throws java.io.IOException- Throws:
java.io.IOException
-
readU16Fixed16Number
float readU16Fixed16Number(byte[] buf, int start_idx) -
readU16Fixed16Number
float readU16Fixed16Number(java.io.InputStream is) throws java.io.IOException- Throws:
java.io.IOException
-
readU8Fixed8Number
float readU8Fixed8Number(byte[] buf, int start_idx) -
readU8Fixed8Number
float readU8Fixed8Number(java.io.InputStream is) throws java.io.IOException- Throws:
java.io.IOException
-
readUnsignedInt
long readUnsignedInt(byte[] buf, int start_idx) -
readUnsignedInt
long readUnsignedInt(java.io.InputStream is) throws java.io.IOException- Throws:
java.io.IOException
-
readUnsignedShort
int readUnsignedShort(byte[] buf, int start_idx) -
readUnsignedShort
int readUnsignedShort(java.io.InputStream is) throws java.io.IOException- Throws:
java.io.IOException
-