TER.TERdecoder.ReadFile
Class ReadBufferedStream
java.lang.Object
GiciStream.BufferedDataInputStream
TER.TERdecoder.ReadFile.ReadBufferedStream
- All Implemented Interfaces:
- java.io.DataInput
public class ReadBufferedStream
- extends BufferedDataInputStream
Methods inherited from class GiciStream.BufferedDataInputStream |
available, close, getCapacity, getPos, length, read, readBoolean, readByte, readChar, readDouble, readFloat, readFully, readFully, readInt, readLine, readLong, readShort, readUnsignedByte, readUnsignedShort, readUTF, seek, skipBytes, skipBytes, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
bytebuffer
byte bytebuffer
bytePossition
int bytePossition
counter
long counter
ReadBufferedStream
public ReadBufferedStream(java.lang.String inputFile)
throws java.lang.Exception
- Throws:
java.lang.Exception
ReadBufferedStream
public ReadBufferedStream(byte[] source)
throws java.lang.Exception
- Throws:
java.lang.Exception
getBit
public boolean getBit()
throws java.lang.Exception
- Throws:
java.lang.Exception
getBits
public int getBits(int length)
throws java.lang.Exception
- Throws:
java.lang.Exception
clearByte
public void clearByte()
restartCounter
public void restartCounter()
getCounter
public long getCounter()
getTotalBytes
public long getTotalBytes()
getRemaniningBytes
public long getRemaniningBytes()
getBytePossition
public int getBytePossition()
TER - Copyright (C) 2006
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
Group on Interactive Coding of Images (GICI) - UAB (Spain)