public class ByteArrayDataOutputView extends DataOutputViewStreamWrapper
DataOutputView
that operates on a byte-array and offers read/write access to the current position.written
out
Constructor and Description |
---|
ByteArrayDataOutputView() |
ByteArrayDataOutputView(int initialSize) |
Modifier and Type | Method and Description |
---|---|
byte[] |
getInternalBufferReference() |
int |
getPosition() |
void |
reset() |
void |
setPosition(int position) |
byte[] |
toByteArray() |
skipBytesToWrite, write
flush, size, write, write, writeBoolean, writeByte, writeBytes, writeChar, writeChars, writeDouble, writeFloat, writeInt, writeLong, writeShort, writeUTF
close, write
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
write, write, write, writeBoolean, writeByte, writeBytes, writeChar, writeChars, writeDouble, writeFloat, writeInt, writeLong, writeShort, writeUTF
Copyright © 2014–2020 The Apache Software Foundation. All rights reserved.