public class ByteArrayDataInputView extends DataInputViewStreamWrapper
DataInputView
that operates on given byte-arrays.in
Constructor and Description |
---|
ByteArrayDataInputView() |
ByteArrayDataInputView(byte[] buffer) |
ByteArrayDataInputView(byte[] buffer,
int offset,
int length) |
Modifier and Type | Method and Description |
---|---|
int |
getPosition() |
void |
setData(byte[] buffer,
int offset,
int length) |
void |
setPosition(int pos) |
skipBytesToRead
read, read, readBoolean, readByte, readChar, readDouble, readFloat, readFully, readFully, readInt, readLine, readLong, readShort, readUnsignedByte, readUnsignedShort, readUTF, readUTF, skipBytes
available, close, mark, markSupported, read, reset, skip
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
read, read
readBoolean, readByte, readChar, readDouble, readFloat, readFully, readFully, readInt, readLine, readLong, readShort, readUnsignedByte, readUnsignedShort, readUTF, skipBytes
public ByteArrayDataInputView()
public ByteArrayDataInputView(@Nonnull byte[] buffer)
public ByteArrayDataInputView(@Nonnull byte[] buffer, int offset, int length)
public int getPosition()
public void setPosition(int pos)
public void setData(@Nonnull byte[] buffer, int offset, int length)
Copyright © 2014–2020 The Apache Software Foundation. All rights reserved.