public class ByteArraySeekableDataInputStream extends SeekableDataInputStream
SeekableDataInputStream based on byte arrayin| Constructor and Description |
|---|
ByteArraySeekableDataInputStream(ByteBufferBackedInputStream stream) |
| Modifier and Type | Method and Description |
|---|---|
long |
getPos() |
void |
seek(long pos)
Seeks to a position within the stream.
|
read, read, readBoolean, readByte, readChar, readDouble, readFloat, readFully, readFully, readInt, readLine, readLong, readShort, readUnsignedByte, readUnsignedShort, readUTF, readUTF, skipBytesavailable, close, mark, markSupported, read, reset, skippublic ByteArraySeekableDataInputStream(ByteBufferBackedInputStream stream)
public long getPos()
throws IOException
getPos in class SeekableDataInputStreamIOExceptionpublic void seek(long pos)
throws IOException
SeekableDataInputStreamseek in class SeekableDataInputStreampos - target position to seek to.IOException - upon error.Copyright © 2024 The Apache Software Foundation. All rights reserved.