public interface ByteStringAppender<B extends ByteStringAppender<B>> extends StreamingDataOutput<B>, Appendable
Modifier and Type | Method and Description |
---|---|
long |
address(long offset)
Obtain the underlying address.
|
default B |
append(char ch) |
default B |
append(CharSequence cs) |
default B |
append(CharSequence cs,
int start,
int end) |
default B |
append(double d) |
default B |
append(float f) |
default B |
append(long value) |
default B |
append(long value,
int digits) |
default B |
append8bit(CharSequence cs) |
default B |
appendDateMillis(long timeInMillis) |
default B |
appendTimeMillis(long timeInMillis) |
default ByteOrder |
byteOrder() |
Bytes |
bytesForRead() |
Bytes |
bytesForWrite() |
default long |
capacity() |
S |
clear() |
default long |
readLimit() |
default long |
readPosition() |
default long |
readRemaining() |
S |
readSkip(long bytesToSkip) |
default long |
start() |
default long |
writeLimit() |
default long |
writePosition() |
default long |
writeRemaining() |
S |
writeSkip(long bytesToSkip) |
nativeWrite, outputStream, write, write, write, write, write, writeBoolean, writeByte, writeDouble, writeFloat, writeInt, writeLimit, writeLong, writeOrderedInt, writeOrderedLong, writePosition, writeShort, writeStopBit, writeUnsignedByte, writeUnsignedInt, writeUnsignedShort, writeUTFΔ
default B append(char ch)
append
in interface Appendable
default B append(CharSequence cs)
append
in interface Appendable
default B append(long value)
default B append(float f)
default B append(double d)
default B append(CharSequence cs, int start, int end)
append
in interface Appendable
default B append8bit(CharSequence cs)
default B append(long value, int digits)
default B appendDateMillis(long timeInMillis)
default B appendTimeMillis(long timeInMillis)
S clear()
S readSkip(long bytesToSkip)
S writeSkip(long bytesToSkip)
default long start()
default long capacity()
default long readPosition()
default long writePosition()
default long readRemaining()
default long writeRemaining()
default long readLimit()
default long writeLimit()
long address(long offset) throws UnsupportedOperationException
offset
- within this buffer. address(start()) is the actual address of the first byte.UnsupportedOperationException
- if the underlying buffer is on the heapdefault ByteOrder byteOrder()
Bytes bytesForRead()
Bytes bytesForWrite()
Copyright © 2015. All rights reserved.