| Package | Description |
|---|---|
| net.openhft.chronicle.bytes |
The Chronicle Bytes package provides low-level memory access wrappers with functionalities
akin to Java NIO's ByteBuffer.
|
| Modifier and Type | Class and Description |
|---|---|
class |
GuardedNativeBytes<U>
This class extends the
NativeBytes class and provides an additional layer of safety by tracking the raw primitives written to the byte buffer. |
| Modifier and Type | Method and Description |
|---|---|
static @NotNull NativeBytes<Void> |
Bytes.allocateElasticDirect()
Creates and returns a new elastic wrapper for native memory (accessible via 64-bit addresses)
with an initial capacity of zero bytes.
|
static @NotNull NativeBytes<Void> |
Bytes.allocateElasticDirect(long initialCapacity)
Creates and returns a new elastic wrapper for native memory (accessible via 64-bit addresses)
with the given
initialCapacity. |
static @NotNull NativeBytes<Void> |
NativeBytes.nativeBytes()
Creates a new instance of NativeBytes with an empty BytesStore and maximum capacity.
|
static @NotNull NativeBytes<Void> |
NativeBytes.nativeBytes(long initialCapacity)
Creates a new instance of NativeBytes with a specific initial capacity.
|
static <T> @NotNull NativeBytes<T> |
NativeBytes.wrapWithNativeBytes(@NotNull BytesStore<?,T> bs,
long capacity)
Wraps the provided BytesStore with a new instance of NativeBytes with the specified capacity.
|
@NotNull NativeBytes |
NativeBytes.writeSome(@NotNull Bytes<?> bytes) |
Copyright © 2023. All rights reserved.