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 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