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 intreadInt(byte[] buf, int start_idx)intreadInt(java.io.InputStream is)longreadLong(byte[] buf, int start_idx)longreadLong(java.io.InputStream is)floatreadS15Fixed16Number(byte[] buf, int start_idx)floatreadS15Fixed16Number(java.io.InputStream is)shortreadShort(byte[] buf, int start_idx)shortreadShort(java.io.InputStream is)floatreadU16Fixed16Number(byte[] buf, int start_idx)floatreadU16Fixed16Number(java.io.InputStream is)floatreadU8Fixed8Number(byte[] buf, int start_idx)floatreadU8Fixed8Number(java.io.InputStream is)longreadUnsignedInt(byte[] buf, int start_idx)longreadUnsignedInt(java.io.InputStream is)intreadUnsignedShort(byte[] buf, int start_idx)intreadUnsignedShort(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
-