com.soscompany.utils
Interface BitsStream

All Known Implementing Classes:
AVIBitsStream, FileBitsStream, MemoryBitsStream

public interface BitsStream


Method Summary
 void byteAlign()
           
 void close()
           
 int getBits(long[] buffer, int count)
           
 int getBits(long[] buffer, int count, boolean moveReadPointer)
           
 Size getDataSize()
           
 Size getPosition()
           
 void mark(int readlimit)
           
 void reset()
           
 void setReadLimit(long limit)
           
 void setReadProgressListener(ReadProgressListener listener)
           
 

Method Detail

mark

void mark(int readlimit)
          throws java.io.IOException
Throws:
java.io.IOException

reset

void reset()
           throws java.io.IOException
Throws:
java.io.IOException

getBits

int getBits(long[] buffer,
            int count)
            throws java.io.IOException
Throws:
java.io.IOException

getBits

int getBits(long[] buffer,
            int count,
            boolean moveReadPointer)
            throws java.io.IOException
Throws:
java.io.IOException

byteAlign

void byteAlign()
               throws java.io.IOException
Throws:
java.io.IOException

getPosition

Size getPosition()
                 throws java.io.IOException
Throws:
java.io.IOException

getDataSize

Size getDataSize()
                 throws java.io.IOException
Throws:
java.io.IOException

close

void close()
           throws java.io.IOException
Throws:
java.io.IOException

setReadLimit

void setReadLimit(long limit)

setReadProgressListener

void setReadProgressListener(ReadProgressListener listener)