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) |
skipBytesToReadread, read, readBoolean, readByte, readChar, readDouble, readFloat, readFully, readFully, readInt, readLine, readLong, readShort, readUnsignedByte, readUnsignedShort, readUTF, readUTF, skipBytesavailable, close, mark, markSupported, read, reset, skipclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitread, readreadBoolean, readByte, readChar, readDouble, readFloat, readFully, readFully, readInt, readLine, readLong, readShort, readUnsignedByte, readUnsignedShort, readUTF, skipBytespublic 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–2018 The Apache Software Foundation. All rights reserved.