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 |
append8bit(CharSequence cs,
int offset,
int length) |
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 Writer |
writer() |
default long |
writeRemaining() |
S |
writeSkip(long bytesToSkip) |
nativeWrite, outputStream, write, write, write, write, write, write, write, write8bit, write8bit, write8bit, write8bit, writeBoolean, writeByte, writeDouble, writeEnum, writeFloat, writeInt, writeLimit, writeLong, writeOrderedInt, writeOrderedLong, writePosition, writeShort, writeStopBit, writeStopBit, writeUnsignedByte, writeUnsignedInt, writeUnsignedShort, writeUTFΔ
default Writer writer()
@NotNull default B append(char ch)
append
in interface Appendable
@NotNull default B append(@NotNull CharSequence cs)
append
in interface Appendable
@NotNull default B append(long value)
@NotNull default B append(float f)
@NotNull default B append(double d)
@NotNull default B append(@NotNull CharSequence cs, int start, int end)
append
in interface Appendable
@NotNull default B append8bit(@NotNull CharSequence cs)
default B append8bit(@NotNull CharSequence cs, int offset, int length)
@NotNull default B append(long value, int digits)
@NotNull default B appendDateMillis(long timeInMillis)
@NotNull default B appendTimeMillis(long timeInMillis)
@NotNull 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.