| Package | Description |
|---|---|
| net.openhft.chronicle.bytes |
The Chronicle Bytes package provides low-level memory access wrappers with functionalities
akin to Java NIO's ByteBuffer.
|
| net.openhft.chronicle.bytes.render |
Provides classes and interfaces for rendering byte sequences into decimal representation
with various levels of precision and formatting.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractBytes<U>
Abstract representation of Bytes.
|
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. |
class |
HexDumpBytes
A class that implements the
Bytes interface for generating a hex dump of byte data. |
class |
MappedBytes
A specialized implementation of
AbstractBytes that wraps memory-mapped data for efficient random file access. |
class |
NativeBytes<U>
NativeBytes is a subclass of VanillaBytes which can wrap either a ByteBuffer or malloc'ed memory.
|
class |
OnHeapBytes |
class |
SubBytes<U>
A
SubBytes object represents a subsection of a BytesStore from a given start index up to a specified capacity. |
class |
UncheckedBytes<U>
An optimized extension of AbstractBytes that doesn't perform any bounds checking
for read and write operations.
|
class |
UncheckedNativeBytes<U>
An optimized extension of AbstractBytes that performs unchecked read and write operations
on a Bytes instance that is backed by native memory.
|
class |
VanillaBytes<U>
A simple Bytes implementation that is non-elastic.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
GeneralDecimaliser.toDecimal(double value,
DecimalAppender decimalAppender)
Converts a double value to its decimal representation by first trying a lightweight approach and then,
if necessary, falling back to a
BigDecimal-based approach for higher precision. |
boolean |
SimpleDecimaliser.toDecimal(double value,
DecimalAppender decimalAppender)
Converts a double value to its decimal representation using a simple rounding approach, and appends it to the provided
DecimalAppender. |
boolean |
UsesBigDecimal.toDecimal(double value,
DecimalAppender decimalAppender)
Converts a double value to its decimal representation using
BigDecimal and appends it
to the provided DecimalAppender. |
boolean |
Decimaliser.toDecimal(double value,
DecimalAppender decimalAppender)
Converts a double value to its decimal representation and appends it using the provided DecimalAppender.
|
boolean |
MaximumPrecision.toDecimal(double value,
DecimalAppender decimalAppender)
Converts a double value to its decimal representation using the specified maximum precision, and appends it
to the provided
DecimalAppender. |
boolean |
StandardDecimaliser.toDecimal(double value,
DecimalAppender decimalAppender)
Converts a double value to its decimal representation in standard form and appends it using the provided
DecimalAppender. |
boolean |
GeneralDecimaliser.toDecimal(float value,
DecimalAppender decimalAppender)
Converts a float value to its decimal representation by first trying a lightweight approach and then,
if necessary, falling back to a
BigDecimal-based approach for higher precision. |
boolean |
SimpleDecimaliser.toDecimal(float value,
DecimalAppender decimalAppender)
Converts a float value to its decimal representation using a simple rounding approach, and appends it to the provided
DecimalAppender. |
boolean |
UsesBigDecimal.toDecimal(float value,
DecimalAppender decimalAppender)
Converts a float value to its decimal representation using
BigDecimal and appends it
to the provided DecimalAppender. |
boolean |
Decimaliser.toDecimal(float value,
DecimalAppender decimalAppender)
Converts a float value to its decimal representation and appends it using the provided DecimalAppender.
|
boolean |
MaximumPrecision.toDecimal(float value,
DecimalAppender decimalAppender)
Converts a float value to its decimal representation using the specified maximum precision, and appends it
to the provided
DecimalAppender. |
boolean |
StandardDecimaliser.toDecimal(float value,
DecimalAppender decimalAppender)
Converts a float value to its decimal representation in standard form and appends it using the provided
DecimalAppender. |
Copyright © 2024. All rights reserved.