| Package | Description |
|---|---|
| net.openhft.chronicle.bytes |
| Modifier and Type | Class and Description |
|---|---|
class |
GuardedNativeBytes<Underlying> |
class |
NativeBytes<Underlying>
Elastic memory accessor which can wrap either a ByteBuffer or malloc'ed memory.
|
static class |
NativeBytes.NativeSubBytes |
class |
SubBytes<Underlying> |
| Modifier and Type | Method and Description |
|---|---|
static @NotNull VanillaBytes |
Bytes.allocateDirect(@NotNull byte[] bytes)
Creates and returns a new fix sized wrapper for native (64-bit address)
memory with the contents copied from the given
bytes array. |
static @NotNull VanillaBytes<Void> |
Bytes.allocateDirect(long capacity)
Creates and returns a new fix sized wrapper for native (64-bit address)
memory with the given
capacity. |
@NotNull VanillaBytes |
VanillaBytes.append(@NotNull CharSequence str,
int start,
int end) |
@NotNull VanillaBytes |
VanillaBytes.appendUtf8(CharSequence str) |
@NotNull VanillaBytes<Void> |
MappedBytesStore.bytesForWrite() |
@NotNull VanillaBytes<Void> |
PointerBytesStore.bytesForWrite() |
@NotNull VanillaBytes<Underlying> |
NativeBytesStore.bytesForWrite() |
@NotNull VanillaBytes<Void> |
ReadOnlyMappedBytesStore.bytesForWrite() |
static @NotNull VanillaBytes<Void> |
VanillaBytes.vanillaBytes() |
| Modifier and Type | Method and Description |
|---|---|
void |
MappedFile.acquireBytesForRead(long position,
@NotNull VanillaBytes bytes) |
void |
MappedFile.acquireBytesForWrite(long position,
@NotNull VanillaBytes bytes) |
Copyright © 2020. All rights reserved.