| Package | Description |
|---|---|
| net.openhft.chronicle.bytes | |
| net.openhft.chronicle.bytes.pool | |
| net.openhft.chronicle.bytes.ref | |
| net.openhft.chronicle.bytes.util |
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractBytes<Underlying> |
class |
GuardedNativeBytes<Underlying> |
class |
HexDumpBytes |
class |
MappedBytes
Bytes to wrap memory mapped data.
|
class |
NativeBytes<Underlying>
Elastic memory accessor which can wrap either a ByteBuffer or malloc'ed memory.
|
static class |
NativeBytes.NativeSubBytes |
class |
SubBytes<Underlying> |
class |
UncheckedBytes<Underlying>
Fast unchecked version of AbstractBytes
|
class |
UncheckedNativeBytes<Underlying>
Fast unchecked version of AbstractBytes
|
class |
VanillaBytes<Underlying>
Simple Bytes implementation which is not Elastic.
|
| Modifier and Type | Field and Description |
|---|---|
static @NotNull Bytes |
NoBytesStore.NO_BYTES |
| Modifier and Type | Method and Description |
|---|---|
@NotNull Bytes |
MappedFile.acquireBytesForRead(long position)
Convenience method so you don't need to release the BytesStore
|
@NotNull Bytes |
MappedFile.acquireBytesForWrite(long position) |
@NotNull Bytes<Underlying> |
VanillaBytes.append8bit(@NotNull BytesStore bs) |
@NotNull Bytes<Underlying> |
UncheckedBytes.append8bit(@NotNull CharSequence cs) |
@NotNull Bytes<Underlying> |
UncheckedNativeBytes.append8bit(@NotNull CharSequence cs) |
@NotNull Bytes<Underlying> |
VanillaBytes.append8bit(@NotNull CharSequence cs) |
@NotNull Bytes<Void> |
MappedBytes.append8bit(@NotNull CharSequence cs,
int start,
int end) |
@NotNull Bytes<Underlying> |
VanillaBytes.append8bit(@NotNull String cs) |
protected @NotNull Bytes<Underlying> |
VanillaBytes.append8bit0(@NotNull CharSequence cs) |
@NotNull Bytes<Underlying> |
UncheckedBytes.appendUtf8(char[] chars,
int offset,
int length) |
@NotNull Bytes<Underlying> |
UncheckedNativeBytes.appendUtf8(char[] chars,
int offset,
int length) |
@NotNull Bytes<Underlying> |
VanillaBytes.appendUtf8(char[] chars,
int offset,
int length) |
@NotNull Bytes<Void> |
MappedBytes.appendUtf8(char[] chars,
int offset,
int length) |
@NotNull Bytes<Void> |
MappedBytes.appendUtf8(CharSequence cs,
int start,
int length) |
Bytes |
BytesContext.bytes() |
default @NotNull Bytes<Underlying> |
BytesStore.bytesForRead() |
default @NotNull Bytes<Underlying> |
Bytes.bytesForRead()
Creates a slice of the current Bytes based on its position() and limit().
|
@NotNull Bytes<Underlying> |
VanillaBytes.bytesForRead() |
@NotNull Bytes |
NoBytesStore.bytesForWrite() |
default @NotNull Bytes<Underlying> |
BytesStore.bytesForWrite() |
@NotNull Bytes |
HexDumpBytes.clear() |
@NotNull Bytes<Underlying> |
UncheckedNativeBytes.clear() |
@NotNull Bytes<Underlying> |
Bytes.clear() |
@NotNull Bytes<Void> |
MappedBytes.clear() |
@NotNull Bytes<Underlying> |
AbstractBytes.clear() |
@NotNull Bytes<Void> |
HexDumpBytes.clearAndPad(long length) |
@NotNull Bytes<Underlying> |
UncheckedNativeBytes.clearAndPad(long length) |
@NotNull Bytes<Underlying> |
AbstractBytes.clearAndPad(long length) |
Bytes<Void> |
HexDumpBytes.comment(CharSequence comment) |
@NotNull Bytes |
HexDumpBytes.compact() |
@NotNull Bytes<Underlying> |
UncheckedNativeBytes.compact() |
@NotNull Bytes<Underlying> |
Bytes.compact()
Compact these Bytes by moving the readPosition to the start.
|
@NotNull Bytes<Underlying> |
AbstractBytes.compact() |
static @NotNull Bytes<ByteBuffer> |
Bytes.elasticByteBuffer()
Creates and returns a new elastic wrapper for a direct (off-heap) ByteBuffer with a default capacity
which will be resized as required.
|
static @NotNull Bytes<ByteBuffer> |
Bytes.elasticByteBuffer(int initialCapacity)
Creates and returns a new elastic wrapper for a direct (off-heap) ByteBuffer with
the given
initialCapacity which will be resized as required. |
static @NotNull Bytes<ByteBuffer> |
Bytes.elasticByteBuffer(int initialCapacity,
int maxCapacity)
Creates and returns a new elastic wrapper for a direct (off-heap) ByteBuffer with
the given
initialCapacity which will be resized as required up
to the given maxSize. |
static @NotNull Bytes<ByteBuffer> |
Bytes.elasticHeapByteBuffer(int initialCapacity)
Creates and returns a new elastic wrapper for a heap ByteBuffer with
the given
initialCapacity which will be resized as required. |
static @NotNull Bytes<?> |
Bytes.from(@NotNull CharSequence text)
Convert text to bytes using ISO-8859-1 encoding and return a Bytes ready for reading.
|
static @NotNull Bytes<?> |
Bytes.from(@NotNull String text)
Convert text to bytes using ISO-8859-1 encoding and return a Bytes ready for reading.
|
static @NotNull Bytes |
Bytes.fromHexString(@NotNull String s) |
static @NotNull Bytes<byte[]> |
Bytes.fromString(@NotNull String text)
Convert text to bytes using ISO-8859-1 encoding and return a Bytes ready for reading.
|
@NotNull Bytes<Void> |
HexDumpBytes.prewrite(byte[] bytes) |
@NotNull Bytes<Underlying> |
UncheckedNativeBytes.prewrite(@NotNull byte[] bytes) |
@NotNull Bytes<Underlying> |
AbstractBytes.prewrite(@NotNull byte[] bytes) |
@NotNull Bytes<Void> |
HexDumpBytes.prewrite(BytesStore bytes) |
@NotNull Bytes<Underlying> |
UncheckedNativeBytes.prewrite(@NotNull BytesStore bytes) |
@NotNull Bytes<Underlying> |
AbstractBytes.prewrite(@NotNull BytesStore bytes) |
@NotNull Bytes<Void> |
HexDumpBytes.prewriteByte(byte b) |
@NotNull Bytes<Underlying> |
UncheckedNativeBytes.prewriteByte(byte i8) |
@NotNull Bytes<Underlying> |
AbstractBytes.prewriteByte(byte i8) |
@NotNull Bytes<Void> |
HexDumpBytes.prewriteInt(int i) |
@NotNull Bytes<Underlying> |
UncheckedNativeBytes.prewriteInt(int i) |
@NotNull Bytes<Underlying> |
AbstractBytes.prewriteInt(int i) |
@NotNull Bytes<Void> |
HexDumpBytes.prewriteLong(long l) |
@NotNull Bytes<Underlying> |
UncheckedNativeBytes.prewriteLong(long i64) |
@NotNull Bytes<Underlying> |
AbstractBytes.prewriteLong(long l) |
@NotNull Bytes<Void> |
HexDumpBytes.prewriteShort(short i) |
@NotNull Bytes<Underlying> |
UncheckedNativeBytes.prewriteShort(short i16) |
@NotNull Bytes<Underlying> |
AbstractBytes.prewriteShort(short i) |
Bytes<Underlying> |
GuardedNativeBytes.rawWriteByte(byte i8) |
Bytes<Underlying> |
GuardedNativeBytes.rawWriteInt(int i) |
static Bytes |
BytesUtil.readFile(@NotNull String name) |
@NotNull Bytes<Void> |
HexDumpBytes.readLimit(long limit) |
@NotNull Bytes<Underlying> |
UncheckedBytes.readLimit(long limit) |
@NotNull Bytes<Underlying> |
UncheckedNativeBytes.readLimit(long limit) |
@NotNull Bytes<Underlying> |
AbstractBytes.readLimit(long limit) |
@NotNull Bytes<Void> |
HexDumpBytes.readPosition(long position) |
@NotNull Bytes<Underlying> |
UncheckedBytes.readPosition(long position) |
@NotNull Bytes<Underlying> |
UncheckedNativeBytes.readPosition(long position) |
@NotNull Bytes<Void> |
MappedBytes.readPosition(long position) |
@NotNull Bytes<Underlying> |
AbstractBytes.readPosition(long position) |
@NotNull Bytes<Void> |
HexDumpBytes.readPositionRemaining(long position,
long remaining) |
@NotNull Bytes<Void> |
MappedBytes.readPositionRemaining(long position,
long remaining) |
@NotNull Bytes<Void> |
HexDumpBytes.readPositionUnlimited(long position) |
@NotNull Bytes<Void> |
HexDumpBytes.readSkip(long bytesToSkip) |
@NotNull Bytes<Underlying> |
UncheckedBytes.readSkip(long bytesToSkip) |
@NotNull Bytes<Underlying> |
UncheckedNativeBytes.readSkip(long bytesToSkip) |
@NotNull Bytes<Void> |
MappedBytes.readSkip(long bytesToSkip) |
@NotNull Bytes<Underlying> |
AbstractBytes.readSkip(long bytesToSkip) |
@NotNull Bytes<Underlying> |
UncheckedBytes.unchecked(boolean unchecked) |
@NotNull Bytes<Underlying> |
UncheckedNativeBytes.unchecked(boolean unchecked) |
default @NotNull Bytes<Underlying> |
Bytes.unchecked(boolean unchecked)
Return a Bytes which is optionally unchecked.
|
static @NotNull Bytes<byte[]> |
Bytes.wrapForRead(@NotNull byte[] byteArray)
Wrap the byte[] ready for reading
Method for convenience only - might not be ideal for performance (creates garbage).
|
static @NotNull Bytes<ByteBuffer> |
Bytes.wrapForRead(@NotNull ByteBuffer byteBuffer)
Wrap the ByteBuffer ready for reading
Method for convenience only - might not be ideal for performance (creates garbage).
|
static @NotNull Bytes<byte[]> |
Bytes.wrapForWrite(@NotNull byte[] byteArray)
Wrap the byte[] ready for writing
Method for convenience only - might not be ideal for performance (creates garbage).
|
static @NotNull Bytes<ByteBuffer> |
Bytes.wrapForWrite(@NotNull ByteBuffer byteBuffer)
Wrap the ByteBuffer ready for writing
Method for convenience only - might not be ideal for performance (creates garbage).
|
@NotNull Bytes<Void> |
HexDumpBytes.write(@NotNull byte[] bytes) |
@NotNull Bytes<Void> |
HexDumpBytes.write(byte[] bytes,
int offset,
int length) |
@NotNull Bytes<Underlying> |
NativeBytes.write(byte[] bytes,
int offset,
int length) |
@NotNull Bytes<Underlying> |
UncheckedNativeBytes.write(@NotNull byte[] bytes,
int offset,
int length) |
@NotNull Bytes<Underlying> |
AbstractBytes.write(@NotNull byte[] bytes,
int offset,
int length) |
Bytes<Void> |
HexDumpBytes.write(@NotNull BytesStore bytes) |
@NotNull Bytes<Void> |
HexDumpBytes.write(@NotNull BytesStore bytes,
long offset,
long length) |
@NotNull Bytes<Underlying> |
UncheckedBytes.write(@NotNull BytesStore bytes,
long offset,
long length) |
@NotNull Bytes<Underlying> |
NativeBytes.write(BytesStore bytes,
long offset,
long length) |
@NotNull Bytes<Underlying> |
VanillaBytes.write(@NotNull BytesStore bytes,
long offset,
long length) |
@NotNull Bytes<Void> |
MappedBytes.write(@NotNull BytesStore bytes,
long offset,
long length) |
@NotNull Bytes<Void> |
HexDumpBytes.write(CharSequence cs) |
@NotNull Bytes<Void> |
HexDumpBytes.write(@NotNull CharSequence s,
int start,
int length) |
Bytes |
HexDumpBytes.write(InputStream inputStream) |
default Bytes |
Bytes.write(InputStream inputStream) |
@NotNull Bytes<Void> |
HexDumpBytes.write(long offsetInRDO,
byte[] bytes,
int offset,
int length) |
@NotNull Bytes<Underlying> |
UncheckedNativeBytes.write(long offsetInRDO,
byte[] bytes,
int offset,
int length) |
@NotNull Bytes<Underlying> |
AbstractBytes.write(long offsetInRDO,
byte[] bytes,
int offset,
int length) |
@NotNull Bytes<Void> |
HexDumpBytes.write(long writeOffset,
RandomDataInput bytes,
long readOffset,
long length) |
@NotNull Bytes<Underlying> |
UncheckedNativeBytes.write(long writeOffset,
@NotNull RandomDataInput bytes,
long readOffset,
long length) |
@NotNull Bytes<Underlying> |
AbstractBytes.write(long writeOffset,
RandomDataInput bytes,
long readOffset,
long length) |
@NotNull Bytes<Void> |
HexDumpBytes.write(@NotNull RandomDataInput bytes) |
@NotNull Bytes<Underlying> |
UncheckedNativeBytes.write(@NotNull RandomDataInput bytes) |
@NotNull Bytes<Underlying> |
AbstractBytes.write(@NotNull RandomDataInput bytes) |
@NotNull Bytes<Void> |
HexDumpBytes.write(@NotNull RandomDataInput bytes,
long offset,
long length) |
@NotNull Bytes<Underlying> |
UncheckedBytes.write(@NotNull RandomDataInput bytes,
long offset,
long length) |
@NotNull Bytes<Underlying> |
UncheckedNativeBytes.write(@NotNull RandomDataInput bytes,
long offset,
long length) |
@NotNull Bytes<Underlying> |
VanillaBytes.write(@NotNull RandomDataInput bytes,
long offset,
long length) |
@NotNull Bytes<Void> |
MappedBytes.write(@NotNull RandomDataInput bytes,
long offset,
long length) |
@NotNull Bytes<Void> |
HexDumpBytes.write8bit(@Nullable BytesStore bs) |
@NotNull Bytes<Underlying> |
NativeBytes.write8bit(@Nullable BytesStore bs) |
@NotNull Bytes<Void> |
HexDumpBytes.write8bit(@Nullable CharSequence cs) |
@NotNull Bytes<Void> |
HexDumpBytes.write8bit(@NotNull CharSequence s,
int start,
int length) |
@NotNull Bytes<Void> |
HexDumpBytes.write8bit(@Nullable String s) |
@NotNull Bytes<Void> |
HexDumpBytes.writeBoolean(boolean flag) |
@NotNull Bytes<Void> |
HexDumpBytes.writeByte(byte i8) |
@NotNull Bytes<Underlying> |
UncheckedBytes.writeByte(byte i8) |
@NotNull Bytes<Underlying> |
GuardedNativeBytes.writeByte(byte i8) |
@NotNull Bytes<Underlying> |
NativeBytes.writeByte(byte i8) |
@NotNull Bytes<Underlying> |
UncheckedNativeBytes.writeByte(byte i8) |
@NotNull Bytes<Void> |
MappedBytes.writeByte(byte i8) |
@NotNull Bytes<Underlying> |
AbstractBytes.writeByte(byte i8) |
@NotNull Bytes<Void> |
HexDumpBytes.writeByte(long offset,
byte i8) |
@NotNull Bytes<Underlying> |
UncheckedNativeBytes.writeByte(long offset,
byte i) |
@NotNull Bytes<Underlying> |
AbstractBytes.writeByte(long offset,
byte i) |
@NotNull Bytes<Void> |
HexDumpBytes.writeDouble(double d) |
@NotNull Bytes<Underlying> |
GuardedNativeBytes.writeDouble(double d) |
@NotNull Bytes<Underlying> |
UncheckedNativeBytes.writeDouble(double d) |
@NotNull Bytes<Underlying> |
AbstractBytes.writeDouble(double d) |
@NotNull Bytes<Void> |
HexDumpBytes.writeDouble(long offset,
double d) |
@NotNull Bytes<Underlying> |
UncheckedNativeBytes.writeDouble(long offset,
double d) |
@NotNull Bytes<Underlying> |
AbstractBytes.writeDouble(long offset,
double d) |
@NotNull Bytes<Void> |
HexDumpBytes.writeDoubleAndInt(double d,
int i) |
@NotNull Bytes<Underlying> |
UncheckedNativeBytes.writeDoubleAndInt(double d,
int i) |
@NotNull Bytes<Underlying> |
AbstractBytes.writeDoubleAndInt(double d,
int i) |
<E extends Enum<E>> |
HexDumpBytes.writeEnum(E e) |
@NotNull Bytes<Void> |
HexDumpBytes.writeFloat(float f) |
@NotNull Bytes<Underlying> |
GuardedNativeBytes.writeFloat(float f) |
@NotNull Bytes<Underlying> |
UncheckedNativeBytes.writeFloat(float f) |
@NotNull Bytes<Underlying> |
AbstractBytes.writeFloat(float f) |
@NotNull Bytes<Void> |
HexDumpBytes.writeFloat(long offset,
float d) |
@NotNull Bytes<Underlying> |
UncheckedNativeBytes.writeFloat(long offset,
float d) |
@NotNull Bytes<Underlying> |
AbstractBytes.writeFloat(long offset,
float d) |
@NotNull Bytes<Void> |
HexDumpBytes.writeInt(int i) |
@NotNull Bytes<Underlying> |
GuardedNativeBytes.writeInt(int i) |
@NotNull Bytes<Underlying> |
UncheckedNativeBytes.writeInt(int i) |
@NotNull Bytes<Underlying> |
AbstractBytes.writeInt(int i) |
@NotNull Bytes<Void> |
HexDumpBytes.writeInt(long offset,
int i) |
@NotNull Bytes<Underlying> |
UncheckedNativeBytes.writeInt(long offset,
int i) |
@NotNull Bytes<Underlying> |
AbstractBytes.writeInt(long offset,
int i) |
@NotNull Bytes<Void> |
HexDumpBytes.writeInt24(int i) |
@NotNull Bytes<Void> |
HexDumpBytes.writeInt24(long offset,
int i) |
@NotNull Bytes<Void> |
HexDumpBytes.writeIntAdv(int i,
int advance) |
@NotNull Bytes<Underlying> |
UncheckedNativeBytes.writeIntAdv(int i,
int advance) |
@NotNull Bytes<Underlying> |
AbstractBytes.writeIntAdv(int i,
int advance) |
@NotNull Bytes<Void> |
HexDumpBytes.writeLimit(long limit) |
@NotNull Bytes<Underlying> |
UncheckedBytes.writeLimit(long limit) |
@NotNull Bytes<Underlying> |
UncheckedNativeBytes.writeLimit(long limit) |
@NotNull Bytes<Underlying> |
AbstractBytes.writeLimit(long limit) |
@NotNull Bytes<Void> |
HexDumpBytes.writeLong(long i64) |
@NotNull Bytes |
GuardedNativeBytes.writeLong(long i64) |
@NotNull Bytes<Underlying> |
NativeBytes.writeLong(long i64) |
@NotNull Bytes<Underlying> |
UncheckedNativeBytes.writeLong(long i64) |
@NotNull Bytes<Underlying> |
AbstractBytes.writeLong(long i64) |
@NotNull Bytes<Void> |
HexDumpBytes.writeLong(long offset,
long i) |
@NotNull Bytes<Underlying> |
UncheckedNativeBytes.writeLong(long offset,
long i) |
@NotNull Bytes<Underlying> |
AbstractBytes.writeLong(long offset,
long i) |
@NotNull Bytes<Void> |
HexDumpBytes.writeLongAdv(long i64,
int advance) |
@NotNull Bytes<Underlying> |
UncheckedNativeBytes.writeLongAdv(long i64,
int advance) |
@NotNull Bytes<Underlying> |
AbstractBytes.writeLongAdv(long i64,
int advance) |
@NotNull Bytes<Void> |
HexDumpBytes.writeOrderedInt(int i) |
@NotNull Bytes<Underlying> |
UncheckedNativeBytes.writeOrderedInt(int i) |
@NotNull Bytes<Underlying> |
AbstractBytes.writeOrderedInt(int i) |
@NotNull Bytes<Void> |
HexDumpBytes.writeOrderedInt(long offset,
int i) |
@NotNull Bytes<Underlying> |
UncheckedNativeBytes.writeOrderedInt(long offset,
int i) |
@NotNull Bytes<Void> |
MappedBytes.writeOrderedInt(long offset,
int i) |
@NotNull Bytes<Underlying> |
AbstractBytes.writeOrderedInt(long offset,
int i) |
@NotNull Bytes<Void> |
HexDumpBytes.writeOrderedLong(long i) |
@NotNull Bytes<Underlying> |
UncheckedNativeBytes.writeOrderedLong(long i) |
@NotNull Bytes<Underlying> |
AbstractBytes.writeOrderedLong(long i) |
@NotNull Bytes<Void> |
HexDumpBytes.writeOrderedLong(long offset,
long i) |
@NotNull Bytes<Underlying> |
UncheckedNativeBytes.writeOrderedLong(long offset,
long i) |
@NotNull Bytes<Underlying> |
AbstractBytes.writeOrderedLong(long offset,
long i) |
@NotNull Bytes<Void> |
HexDumpBytes.writePosition(long position) |
@NotNull Bytes<Underlying> |
UncheckedBytes.writePosition(long position) |
@NotNull Bytes<Underlying> |
UncheckedNativeBytes.writePosition(long position) |
@NotNull Bytes<Void> |
MappedBytes.writePosition(long position) |
@NotNull Bytes<Underlying> |
AbstractBytes.writePosition(long position) |
@NotNull Bytes<Void> |
HexDumpBytes.writeShort(long offset,
short i) |
@NotNull Bytes<Underlying> |
UncheckedNativeBytes.writeShort(long offset,
short i) |
@NotNull Bytes<Underlying> |
AbstractBytes.writeShort(long offset,
short i) |
@NotNull Bytes<Void> |
HexDumpBytes.writeShort(short i16) |
@NotNull Bytes<Underlying> |
GuardedNativeBytes.writeShort(short i16) |
@NotNull Bytes<Underlying> |
UncheckedNativeBytes.writeShort(short i16) |
@NotNull Bytes<Underlying> |
AbstractBytes.writeShort(short i16) |
@NotNull Bytes<Void> |
HexDumpBytes.writeSkip(long bytesToSkip) |
@NotNull Bytes<Underlying> |
UncheckedBytes.writeSkip(long bytesToSkip) |
@NotNull Bytes<Underlying> |
UncheckedNativeBytes.writeSkip(long bytesToSkip) |
@NotNull Bytes<Underlying> |
AbstractBytes.writeSkip(long bytesToSkip) |
@NotNull Bytes<Void> |
HexDumpBytes.writeSome(ByteBuffer buffer) |
@NotNull Bytes<Underlying> |
UncheckedNativeBytes.writeSome(@NotNull ByteBuffer buffer) |
@NotNull Bytes<Underlying> |
AbstractBytes.writeSome(@NotNull ByteBuffer buffer) |
@NotNull Bytes<Void> |
HexDumpBytes.writeSome(@NotNull Bytes bytes) |
@NotNull Bytes<Void> |
HexDumpBytes.writeStopBit(char x) |
@NotNull Bytes<Underlying> |
GuardedNativeBytes.writeStopBit(char x) |
@NotNull Bytes<Void> |
MappedBytes.writeStopBit(char n) |
@NotNull Bytes<Void> |
HexDumpBytes.writeStopBit(double d) |
@NotNull Bytes<Void> |
HexDumpBytes.writeStopBit(long x) |
@NotNull Bytes<Underlying> |
GuardedNativeBytes.writeStopBit(long x) |
@NotNull Bytes<Void> |
MappedBytes.writeStopBit(long n) |
@NotNull Bytes<Void> |
HexDumpBytes.writeStopBitDecimal(double d) |
@NotNull Bytes<Void> |
HexDumpBytes.writeUnsignedByte(int i) |
@NotNull Bytes<Void> |
HexDumpBytes.writeUnsignedInt(long i) |
@NotNull Bytes<Void> |
HexDumpBytes.writeUnsignedInt24(int i) |
@NotNull Bytes<Void> |
HexDumpBytes.writeUnsignedShort(int u16) |
@NotNull Bytes<Void> |
HexDumpBytes.writeUtf8(CharSequence cs) |
@NotNull Bytes<Void> |
MappedBytes.writeUtf8(CharSequence str) |
@NotNull Bytes<Void> |
HexDumpBytes.writeUtf8(String s) |
@NotNull Bytes<Underlying> |
UncheckedBytes.writeUtf8(String s) |
Bytes<Void> |
MappedBytes.writeUtf8(String str) |
@NotNull Bytes<Void> |
HexDumpBytes.writeUTFΔ(CharSequence cs) |
@NotNull Bytes<Void> |
HexDumpBytes.writeVolatileByte(long offset,
byte i8) |
@NotNull Bytes<Underlying> |
UncheckedNativeBytes.writeVolatileByte(long offset,
byte i8) |
@NotNull Bytes<Underlying> |
AbstractBytes.writeVolatileByte(long offset,
byte i8) |
@NotNull Bytes<Void> |
HexDumpBytes.writeVolatileInt(long offset,
int i32) |
@NotNull Bytes<Underlying> |
UncheckedNativeBytes.writeVolatileInt(long offset,
int i32) |
@NotNull Bytes<Underlying> |
AbstractBytes.writeVolatileInt(long offset,
int i32) |
@NotNull Bytes<Void> |
HexDumpBytes.writeVolatileLong(long offset,
long i64) |
@NotNull Bytes<Underlying> |
UncheckedNativeBytes.writeVolatileLong(long offset,
long i64) |
@NotNull Bytes<Underlying> |
AbstractBytes.writeVolatileLong(long offset,
long i64) |
@NotNull Bytes<Void> |
HexDumpBytes.writeVolatileShort(long offset,
short i16) |
@NotNull Bytes<Underlying> |
UncheckedNativeBytes.writeVolatileShort(long offset,
short i16) |
@NotNull Bytes<Underlying> |
AbstractBytes.writeVolatileShort(long offset,
short i16) |
| Modifier and Type | Method and Description |
|---|---|
BytesStore<Bytes<Underlying>,Underlying> |
Bytes.copy() |
BytesStore<Bytes<Void>,Void> |
MappedBytes.copy() |
static BytesStore<Bytes<Void>,Void> |
NativeBytes.copyOf(@NotNull Bytes bytes) |
| Modifier and Type | Method and Description |
|---|---|
void |
OffsetFormat.append(long offset,
Bytes bytes) |
static void |
BytesUtil.appendBytesFromStart(@NotNull Bytes bytes,
long startPosition,
@NotNull StringBuilder sb) |
long |
RingBufferReader.beforeRead(Bytes bytes)
the readPosition and readLimit will be adjusted so that the client can read the data
|
default void |
BytesStore.cipher(@NotNull Cipher cipher,
@NotNull Bytes outBytes) |
default void |
BytesStore.cipher(@NotNull Cipher cipher,
@NotNull Bytes outBytes,
@NotNull ByteBuffer using1,
@NotNull ByteBuffer using2) |
static BytesStore<Bytes<Void>,Void> |
NativeBytes.copyOf(@NotNull Bytes bytes) |
boolean |
UncheckedNativeBytes.equalsBytes(@NotNull Bytes b2,
long remaining) |
default long |
Bytes.indexOf(@NotNull Bytes source)
Returns the index within this bytes of the first occurrence of the
specified sub-bytes.
|
default long |
Bytes.indexOf(@NotNull Bytes source,
int fromIndex)
Deprecated.
|
static void |
AppendableUtil.parse8bit_SB1(@NotNull Bytes bytes,
@NotNull StringBuilder sb,
int utflen) |
void |
HexDumpBytes.read(@NotNull Bytes bytes,
int length) |
default void |
StreamingDataInput.read(@NotNull Bytes bytes,
int length) |
boolean |
HexDumpBytes.read8bit(@NotNull Bytes b) |
default boolean |
StreamingDataInput.read8bit(@NotNull Bytes b) |
static void |
BytesUtil.read8ByteAlignPadding(Bytes<?> bytes) |
void |
HexDumpBytes.readWithLength(Bytes bytes) |
default void |
StreamingDataInput.readWithLength(Bytes bytes) |
void |
UncheckedBytes.setBytes(@NotNull Bytes bytes) |
static @NotNull char[] |
BytesUtil.toCharArray(@NotNull Bytes bytes) |
static @NotNull char[] |
BytesUtil.toCharArray(@NotNull Bytes bytes,
long position,
int length) |
static @NotNull String |
Bytes.toString(@NotNull Bytes<?> buffer)
Creates a string from the
position to the limit, The buffer is not modified
by this call |
static @NotNull String |
Bytes.toString(@NotNull Bytes<?> buffer,
long maxLen)
Creates a string from the
position to the limit, The buffer is not modified
by this call |
static @NotNull String |
Bytes.toString(@NotNull Bytes buffer,
long position,
long len)
The buffer is not modified by this call
|
static boolean |
BytesUtil.unregister(Bytes bytes) |
static void |
BytesUtil.write8ByteAlignPadding(Bytes<?> bytes) |
static void |
BytesUtil.writeFile(String file,
Bytes<byte[]> bytes) |
@NotNull Bytes<Void> |
HexDumpBytes.writeSome(@NotNull Bytes bytes) |
@NotNull NativeBytes |
NativeBytes.writeSome(@NotNull Bytes bytes) |
default S |
StreamingDataOutput.writeSome(@NotNull Bytes bytes) |
| Constructor and Description |
|---|
UncheckedBytes(@NotNull Bytes underlyingBytes) |
UncheckedNativeBytes(@NotNull Bytes<Underlying> underlyingBytes) |
| Modifier and Type | Method and Description |
|---|---|
Bytes |
BytesPool.acquireBytes() |
protected @NotNull Bytes |
BytesPool.createBytes() |
| Modifier and Type | Method and Description |
|---|---|
static void |
BinaryLongArrayReference.lazyWrite(@NotNull Bytes bytes,
long capacity) |
static void |
TextIntReference.write(@NotNull Bytes bytes,
int value) |
static void |
BinaryLongArrayReference.write(@NotNull Bytes bytes,
long capacity) |
static void |
TextLongArrayReference.write(@NotNull Bytes bytes,
long capacity) |
static void |
TextLongReference.write(@NotNull Bytes bytes,
long value) |
| Modifier and Type | Method and Description |
|---|---|
static <T> void |
Compression.compress(@NotNull CharSequence cs,
@NotNull Bytes uncompressed,
@NotNull Bytes compressed) |
static <T> void |
Compression.compress(@NotNull CharSequence cs,
@NotNull Bytes uncompressed,
@NotNull Bytes compressed) |
T |
AbstractInterner.intern(@NotNull Bytes cs) |
String |
StringInternerBytes.intern(@NotNull Bytes bytes) |
T |
AbstractInterner.intern(@NotNull Bytes cs,
int length) |
String |
StringInternerBytes.intern(@NotNull Bytes bytes,
int length)
converts the bytes to a ISO-8859-1 String, the end of the string is either the bytes .limit
() or a byte containing the stopByte ( which ever comes first ).
|
Copyright © 2020. All rights reserved.