| Package | Description |
|---|---|
| net.openhft.chronicle.bytes | |
| net.openhft.chronicle.bytes.algo | |
| net.openhft.chronicle.bytes.ref | |
| net.openhft.chronicle.bytes.util |
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractBytesStore<B extends BytesStore<B,Underlying>,Underlying> |
interface |
Byteable<B extends BytesStore<B,Underlying>,Underlying>
This Interface allows a reference to off heap memory to be reassigned.
|
interface |
BytesStore<B extends BytesStore<B,Underlying>,Underlying>
A immutable reference to some bytes with fixed extents.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
Bytes<Underlying>
Bytes is a pointer to a region of memory within a BytesStore.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractBytes<Underlying> |
class |
AbstractBytesStore<B extends BytesStore<B,Underlying>,Underlying> |
class |
GuardedNativeBytes<Underlying> |
class |
HeapBytesStore<Underlying>
Wrapper for Heap ByteBuffers and arrays.
|
class |
HexDumpBytes |
class |
MappedBytes
Bytes to wrap memory mapped data.
|
class |
MappedBytesStore
BytesStore 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 |
NativeBytesStore<Underlying> |
class |
NoBytesStore |
class |
PointerBytesStore
A BytesStore which can point to arbitrary memory.
|
class |
ReadOnlyMappedBytesStore
BytesStore to wrap memory mapped data.
|
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 |
|---|---|
protected @NotNull BytesStore<Bytes<Underlying>,Underlying> |
AbstractBytes.bytesStore |
| Modifier and Type | Method and Description |
|---|---|
static <T,B extends BytesStore<B,T>> |
NoBytesStore.noBytesStore() |
| Modifier and Type | Method and Description |
|---|---|
@NotNull BytesStore |
HexDumpBytes.bytesStore() |
@Nullable BytesStore<B,Underlying> |
Byteable.bytesStore() |
BytesStore |
BytesRingBuffer.bytesStore() |
@Nullable BytesStore |
UncheckedNativeBytes.bytesStore() |
default @Nullable BytesStore |
BytesStore.bytesStore() |
@Nullable BytesStore |
Bytes.bytesStore() |
@NotNull BytesStore |
AbstractBytes.bytesStore() |
BytesStore |
RingBufferReader.byteStore() |
BytesStore |
HexDumpBytes.copy() |
@NotNull BytesStore<HeapBytesStore<Underlying>,Underlying> |
HeapBytesStore.copy() |
@NotNull BytesStore |
NoBytesStore.copy() |
@NotNull BytesStore<NativeBytesStore<Underlying>,Underlying> |
NativeBytesStore.copy() |
@NotNull BytesStore<Bytes<Underlying>,Underlying> |
UncheckedBytes.copy() |
@NotNull BytesStore<Bytes<Underlying>,Underlying> |
UncheckedNativeBytes.copy() |
BytesStore<B,Underlying> |
BytesStore.copy() |
BytesStore<Bytes<Underlying>,Underlying> |
Bytes.copy() |
@NotNull BytesStore<Bytes<Underlying>,Underlying> |
VanillaBytes.copy() |
BytesStore<Bytes<Void>,Void> |
MappedBytes.copy() |
static BytesStore<Bytes<Void>,Void> |
NativeBytes.copyOf(@NotNull Bytes bytes) |
static BytesStore |
BytesStore.empty() |
static BytesStore |
BytesStore.from(@NotNull CharSequence cs)
This method builds a BytesStore using the bytes in a CharSequence.
|
static <T,B extends BytesStore<B,T>> |
NoBytesStore.noBytesStore() |
default @NotNull BytesStore |
RandomDataInput.subBytes(long start,
long length)
Copy a sub sequence of bytes as a BytesStore.
|
static @NotNull BytesStore<?,ByteBuffer> |
BytesStore.wrap(@NotNull ByteBuffer bb)
Wraps a ByteBuffer which can be either on heap or off heap.
|
| Modifier and Type | Method and Description |
|---|---|
default B |
ByteStringAppender.append8bit(@NotNull BytesStore bs) |
@NotNull Bytes<Underlying> |
VanillaBytes.append8bit(@NotNull BytesStore bs) |
default B |
ByteStringAppender.append8bit(@NotNull BytesStore bs,
long start,
long end) |
void |
Byteable.bytesStore(BytesStore<B,Underlying> bytesStore,
long offset,
long length)
This setter for a data type which points to an underlying ByteStore.
|
void |
VanillaBytes.bytesStore(@NotNull BytesStore<Bytes<Underlying>,Underlying> byteStore,
long offset,
long length) |
default boolean |
BytesStore.contentEquals(@Nullable BytesStore bytesStore)
Compare the contents of the BytesStores.
|
long |
NoBytesStore.copyTo(BytesStore store) |
long |
NativeBytesStore.copyTo(@NotNull BytesStore store) |
long |
StreamingDataInput.copyTo(BytesStore to) |
default long |
BytesStore.copyTo(@NotNull BytesStore store)
Copy the data to another BytesStore as long as there is space available in the destination store.
|
default long |
Bytes.copyTo(@NotNull BytesStore store)
copy bytes from one ByteStore to another
|
long |
NativeBytesStore.copyToDirect(@NotNull BytesStore store) |
boolean |
NoBytesStore.equalBytes(BytesStore bytesStore,
long length) |
default boolean |
BytesStore.equalBytes(@NotNull BytesStore bytesStore,
long length)
Check if a portion of a BytesStore matches this one.
|
boolean |
VanillaBytes.equalBytes(BytesStore bytesStore,
long length) |
boolean |
AbstractBytes.equalsBytes(@NotNull BytesStore b2,
long remaining) |
static int |
Bytes.indexOf(@NotNull BytesStore source,
@NotNull BytesStore target,
int fromIndex)
Code shared by String and StringBuffer to do searches.
|
static int |
Bytes.indexOf(@NotNull BytesStore source,
@NotNull BytesStore target,
int fromIndex)
Code shared by String and StringBuffer to do searches.
|
default int |
Bytes.indexOf(@NotNull BytesStore source,
int fromIndex)
Returns the index within this bytes of the first occurrence of the
specified subbytes.
|
boolean |
BytesRingBuffer.offer(@NotNull BytesStore bytes0)
Inserts the specified element at the tail of this queue if it is possible to do so
immediately without exceeding the queue's capacity,
|
static void |
AppendableUtil.parseUtf8(@NotNull BytesStore bs,
StringBuilder sb,
int utflen) |
@NotNull Bytes<Void> |
HexDumpBytes.prewrite(BytesStore bytes) |
B |
BytesPrepender.prewrite(BytesStore bytes)
Write backward in binary a byte
|
@NotNull Bytes<Underlying> |
UncheckedNativeBytes.prewrite(@NotNull BytesStore bytes) |
@NotNull Bytes<Underlying> |
AbstractBytes.prewrite(@NotNull BytesStore bytes) |
default boolean |
BytesStore.startsWith(@Nullable BytesStore bytesStore) |
static boolean |
BytesUtil.unregister(BytesStore bytes) |
static <T> @NotNull NativeBytes<T> |
NativeBytes.wrapWithNativeBytes(BytesStore<?,T> bs) |
Bytes<Void> |
HexDumpBytes.write(@NotNull BytesStore bytes) |
default S |
StreamingDataOutput.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) |
default S |
StreamingDataOutput.write(@NotNull BytesStore bytes,
long offset,
long length)
Write all data or fail.
|
@NotNull Bytes<Underlying> |
VanillaBytes.write(@NotNull BytesStore bytes,
long offset,
long length) |
@NotNull Bytes<Void> |
MappedBytes.write(@NotNull BytesStore bytes,
long offset,
long length) |
default R |
RandomDataOutput.write(long offsetInRDO,
@NotNull BytesStore bytes) |
@NotNull Bytes<Void> |
HexDumpBytes.write8bit(@Nullable BytesStore bs) |
@NotNull Bytes<Underlying> |
NativeBytes.write8bit(@Nullable BytesStore bs) |
default S |
StreamingDataOutput.write8bit(@Nullable BytesStore bs) |
MappedBytes |
MappedBytes.write8bit(@Nullable BytesStore bs) |
| Constructor and Description |
|---|
GuardedNativeBytes(@NotNull BytesStore store) |
NativeBytes(@NotNull BytesStore store) |
NativeBytes(@NotNull BytesStore store,
long capacity) |
NativeSubBytes(@NotNull BytesStore bytesStore,
long start,
long capacity) |
SubBytes(@NotNull BytesStore bytesStore) |
SubBytes(@NotNull BytesStore bytesStore,
long start,
long capacity) |
VanillaBytes(@NotNull BytesStore bytesStore) |
VanillaBytes(@NotNull BytesStore bytesStore,
long writePosition,
long writeLimit) |
| Modifier and Type | Interface and Description |
|---|---|
interface |
BytesStoreHash<B extends BytesStore>
Simple function to derive a long hash from a BytesStore
|
| Modifier and Type | Method and Description |
|---|---|
long |
VanillaBytesStoreHash.applyAsLong(@NotNull BytesStore store) |
long |
OptimisedBytesStoreHash.applyAsLong(@NotNull BytesStore store) |
long |
XxHash.applyAsLong(BytesStore bytes) |
long |
VanillaBytesStoreHash.applyAsLong(BytesStore bytes,
long length) |
long |
OptimisedBytesStoreHash.applyAsLong(@NotNull BytesStore store,
long remaining) |
long |
BytesStoreHash.applyAsLong(BytesStore bytes,
long length) |
long |
XxHash.applyAsLong(BytesStore bytes,
long length) |
static long |
OptimisedBytesStoreHash.applyAsLong32bytesMultiple(@NotNull BytesStore store,
int remaining) |
static long |
OptimisedBytesStoreHash.applyAsLongAny(@NotNull BytesStore store,
long remaining) |
static long |
BytesStoreHash.hash(@NotNull BytesStore b) |
static long |
BytesStoreHash.hash(@NotNull BytesStore b,
long length) |
static int |
BytesStoreHash.hash32(BytesStore b) |
static int |
BytesStoreHash.hash32(@NotNull BytesStore b,
int length) |
| Modifier and Type | Field and Description |
|---|---|
protected @Nullable BytesStore |
AbstractReference.bytes |
| Modifier and Type | Method and Description |
|---|---|
@Nullable BytesStore |
BinaryLongArrayReference.bytesStore() |
@NotNull BytesStore |
UncheckedLongReference.bytesStore() |
@Nullable BytesStore |
AbstractReference.bytesStore() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
AbstractReference.acceptNewBytesStore(@NotNull BytesStore bytes) |
void |
BinaryLongArrayReference.bytesStore(@NotNull BytesStore bytes,
long offset,
long length) |
void |
TextLongArrayReference.bytesStore(@NotNull BytesStore bytes,
long offset,
long length) |
void |
BinaryIntReference.bytesStore(@NotNull BytesStore bytes,
long offset,
long length) |
void |
TextLongReference.bytesStore(@NotNull BytesStore bytes,
long offset,
long length) |
void |
TextIntReference.bytesStore(@NotNull BytesStore bytes,
long offset,
long length) |
void |
UncheckedLongReference.bytesStore(@NotNull BytesStore bytes,
long offset,
long length) |
void |
BinaryBooleanReference.bytesStore(@NotNull BytesStore bytes,
long offset,
long length) |
void |
BinaryLongReference.bytesStore(@NotNull BytesStore bytes,
long offset,
long length) |
void |
AbstractReference.bytesStore(@NotNull BytesStore bytes,
long offset,
long length) |
static @NotNull LongReference |
UncheckedLongReference.create(BytesStore bytesStore,
long offset,
int size) |
static long |
BinaryLongArrayReference.peakLength(@NotNull BytesStore bytes,
long offset) |
static long |
TextLongArrayReference.peakLength(@NotNull BytesStore bytes,
long offset) |
static void |
TextBooleanReference.write(boolean value,
BytesStore bytes,
long offset) |
| Modifier and Type | Method and Description |
|---|---|
protected abstract T |
AbstractInterner.getValue(BytesStore bs,
int length) |
protected @NotNull String |
UTF8StringInterner.getValue(@NotNull BytesStore cs,
int length) |
protected @NotNull String |
Bit8StringInterner.getValue(@NotNull BytesStore cs,
int length) |
T |
AbstractInterner.intern(@NotNull BytesStore cs) |
T |
AbstractInterner.intern(@NotNull BytesStore cs,
int length) |
Copyright © 2020. All rights reserved.