public class UncheckedBytes<Underlying> extends AbstractBytes<Underlying>
bytesStore, readPosition, writeLimit, writePosition
MAX_CAPACITY
charToString
Constructor and Description |
---|
UncheckedBytes(Bytes underlyingBytes) |
Modifier and Type | Method and Description |
---|---|
default ByteOrder |
byteOrder() |
BytesStore<Bytes<Underlying>,Underlying> |
copy() |
boolean |
isElastic() |
default void |
parse8bit(Appendable sb,
StopCharsTester stopCharsTester) |
default void |
parse8bit(Appendable sb,
StopCharTester stopCharTester) |
default double |
parseDouble() |
default long |
parseLong() |
default void |
parseUTF(Appendable sb,
StopCharsTester stopCharsTester) |
default void |
parseUTF(Appendable sb,
StopCharTester stopCharTester) |
default String |
parseUTF(StopCharTester stopCharTester) |
void |
rawCopy(BytesStore bytes,
long offset,
long length) |
Bytes<Underlying> |
readLimit(long limit) |
protected long |
readOffsetPositionMoved(long adding) |
Bytes<Underlying> |
readPosition(long position) |
default long |
readRemaining() |
Bytes<Underlying> |
readSkip(long bytesToSkip) |
default boolean |
skipTo(StopCharTester tester) |
Bytes<Underlying> |
unchecked(boolean unchecked) |
Bytes<Underlying> |
write(BytesStore bytes,
long offset,
long length) |
Bytes<Underlying> |
writeLimit(long limit) |
protected long |
writeOffsetPositionMoved(long adding) |
Bytes<Underlying> |
writePosition(long position) |
default long |
writeRemaining() |
Bytes<Underlying> |
writeSkip(long bytesToSkip) |
address, bytesStore, capacity, clear, compareAndSwapInt, compareAndSwapLong, equals, equalsBytes, hashCode, nativeRead, nativeRead, nativeWrite, nativeWrite, peekUnsignedByte, readByte, readByte, readDouble, readDouble, readFloat, readFloat, readInt, readInt, readLimit, readLong, readLong, readPosition, readShort, readShort, readVolatileInt, readVolatileLong, realCapacity, refCount, release, reserve, start, toString, underlyingObject, write, write, write, write, write, writeByte, writeByte, writeDouble, writeDouble, writeFloat, writeFloat, writeInt, writeInt, writeLimit, writeLong, writeLong, writeOrderedInt, writeOrderedInt, writeOrderedLong, writeOrderedLong, writePosition, writeShort, writeShort
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
allocateDirect, allocateElasticDirect, allocateElasticDirect, bytesForRead, elasticByteBuffer, ensureCapacity, expect, expect, from, isClear, safeLimit, toHexString, toHexString, toString, toString, wrapForRead, wrapForRead, wrapForWrite, wrapForWrite
addAndGetInt, addAndGetLong, byteCheckSum, bytesForWrite, charAt, copyTo, equalBytes, getAndAddInt, inside, length, nativePointer, subSequence, toDebugString, wrap, wrap, zeroOut
bytesEqual, copyTo, createCharToString, parseLong, printable, readBoolean, readIncompleteLong, readUnsignedByte, readUnsignedInt, readUnsignedShort, readVolatileInt, readVolatileLong
append, write, write, writeBoolean, writeByte, writeUnsignedByte, writeUnsignedInt, writeUnsignedShort
chars, codePoints
inputStream, parseWithLength, read, read, read, read8bit, read8bit, read8bit, read8bit, readBoolean, readEnum, readStopBit, readStopBitDouble, readUnsignedByte, readUnsignedInt, readUnsignedShort, readUTFΔ, readUTFΔ, readWithLength
append, append, append, append, append, append, append, append8bit, appendDateMillis, appendTimeMillis
outputStream, write, write, write8bit, write8bit, writeBoolean, writeEnum, writeStopBit, writeStopBit, writeUnsignedByte, writeUnsignedInt, writeUnsignedShort, writeUTFΔ
public UncheckedBytes(@NotNull Bytes underlyingBytes)
@NotNull public Bytes<Underlying> unchecked(boolean unchecked)
@NotNull public Bytes<Underlying> readPosition(long position)
readPosition
in interface StreamingDataInput<Bytes<Underlying>>
readPosition
in class AbstractBytes<Underlying>
@NotNull public Bytes<Underlying> readLimit(long limit)
readLimit
in interface StreamingDataInput<Bytes<Underlying>>
readLimit
in class AbstractBytes<Underlying>
@NotNull public Bytes<Underlying> writePosition(long position)
writePosition
in interface StreamingDataOutput<Bytes<Underlying>>
writePosition
in class AbstractBytes<Underlying>
@NotNull public Bytes<Underlying> readSkip(long bytesToSkip)
readSkip
in class AbstractBytes<Underlying>
@NotNull public Bytes<Underlying> writeSkip(long bytesToSkip)
writeSkip
in class AbstractBytes<Underlying>
@NotNull public Bytes<Underlying> writeLimit(long limit)
writeLimit
in interface StreamingDataOutput<Bytes<Underlying>>
writeLimit
in class AbstractBytes<Underlying>
@NotNull public BytesStore<Bytes<Underlying>,Underlying> copy()
public boolean isElastic()
protected long readOffsetPositionMoved(long adding)
readOffsetPositionMoved
in class AbstractBytes<Underlying>
protected long writeOffsetPositionMoved(long adding)
writeOffsetPositionMoved
in class AbstractBytes<Underlying>
@NotNull public Bytes<Underlying> write(@NotNull BytesStore bytes, long offset, long length)
public void rawCopy(@NotNull BytesStore bytes, long offset, long length)
@NotNull public String parseUTF(@NotNull StopCharTester stopCharTester)
public void parseUTF(@NotNull Appendable sb, @NotNull StopCharTester stopCharTester)
public void parseUTF(@NotNull Appendable sb, @NotNull StopCharsTester stopCharsTester)
public void parse8bit(Appendable sb, @NotNull StopCharTester stopCharTester)
public void parse8bit(Appendable sb, @NotNull StopCharsTester stopCharsTester)
public long parseLong()
public double parseDouble()
public boolean skipTo(@NotNull StopCharTester tester)
public long readRemaining()
public long writeRemaining()
public ByteOrder byteOrder()
Copyright © 2015. All rights reserved.