public class MemoryInputStream extends RebufferingInputStream implements java.io.DataInput
DataInputPlus.DataInputStreamPlus
buffer
Constructor and Description |
---|
MemoryInputStream(Memory mem) |
MemoryInputStream(Memory mem,
int bufferSize) |
Modifier and Type | Method and Description |
---|---|
int |
available() |
protected void |
reBuffer()
Implementations must implement this method to refill the buffer.
|
markSupported, read, read, readBoolean, readByte, readChar, readDouble, readFloat, readFully, readFully, readInt, readLine, readLong, readPrimitiveSlowly, readShort, readUnsignedByte, readUnsignedShort, readUnsignedVInt, readUTF, readVInt, reset, skipBytes
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
readBoolean, readByte, readChar, readDouble, readFloat, readFully, readFully, readInt, readLine, readLong, readShort, readUnsignedByte, readUnsignedShort, readUTF, skipBytes
skipBytesFully
public MemoryInputStream(Memory mem)
public MemoryInputStream(Memory mem, int bufferSize)
protected void reBuffer() throws java.io.IOException
RebufferingInputStream
reBuffer
in class RebufferingInputStream
java.io.IOException
public int available()
available
in class java.io.InputStream
Copyright © 2017 The Apache Software Foundation