| Package | Description |
|---|---|
| net.openhft.chronicle.wire | |
| net.openhft.chronicle.wire.converter |
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractLongConverter
An abstract class that serves as a base implementation for the
LongConverter interface. |
class |
AbstractTimestampLongConverter
This abstract class serves as the base for LongConverters that handle timestamp values.
|
class |
Base32LongConverter
This class is responsible for converting 64-bit unsigned numbers into a base32 representation.
|
class |
Base64LongConverter
This class represents a converter for an unsigned 64-bit number encoded in base64.
|
class |
Base85LongConverter
Provides a Base85 encoding scheme, converting long values to a string representation.
|
class |
HexadecimalLongConverter
The
HexadecimalLongConverter class is responsible for converting 64-bit unsigned
numbers into a hexadecimal representation. |
class |
IdentifierLongConverter
An identifier that acts as a base 66 string of up to 10 characters, or a nanosecond timestamp for dates from 2019-09-14.
|
class |
MicroDurationLongConverter
Implementation of
LongConverter to convert durations represented as microseconds. |
class |
MicroTimestampLongConverter
A
MicroTimestampLongConverter is an implementation of AbstractTimestampLongConverter
which handles conversions between long timestamps and date-time strings. |
class |
MilliTimestampLongConverter
A
MilliTimestampLongConverter is an implementation of AbstractTimestampLongConverter
which handles conversions between long timestamps and date-time strings. |
class |
NanoDurationLongConverter
Implementation of
LongConverter for converting durations represented as nanoseconds. |
class |
NanoTimestampLongConverter
A
NanoTimestampLongConverter is an implementation of AbstractTimestampLongConverter
which handles conversions between long timestamps and date-time strings. |
class |
ServicesTimestampLongConverter
This is the ServicesTimestampLongConverter class implementing the
LongConverter interface. |
class |
ShortTextLongConverter
Implements a Base 85 encoding scheme specifically designed for converting short text strings into long values.
|
class |
WordsLongConverter
The
WordsLongConverter class implements the LongConverter interface. |
| Modifier and Type | Field and Description |
|---|---|
protected LongConverter |
AbstractLongConverter.converter |
static LongConverter |
HexadecimalLongConverter.INSTANCE
The singleton instance of
HexadecimalLongConverter. |
| Modifier and Type | Method and Description |
|---|---|
static LongConverter |
LongConverter.forSymbols(String chars)
Creates an instance of the appropriate implementation of
based on the length of the provided character set.
|
| Modifier and Type | Method and Description |
|---|---|
long |
BinaryWire.BinaryValueIn.readLong(LongConverter longConverter) |
default long |
ValueIn.readLong(LongConverter longConverter)
Reads a long value from the wire using a LongConverter.
|
WireOut |
BinaryWire.BinaryValueOut.writeInt(LongConverter converter,
int i) |
default WireOut |
ValueOut.writeInt(LongConverter converter,
int i)
Writes an int value to the wire using a specified converter.
|
WireOut |
BinaryWire.BinaryValueOut.writeLong(LongConverter longConverter,
long l) |
default WireOut |
ValueOut.writeLong(LongConverter longConverter,
long l)
Writes a long value to the wire using a specified converter.
|
| Constructor and Description |
|---|
AbstractLongConverter(LongConverter converter)
Constructs an
AbstractLongConverter with a specified converter. |
| Modifier and Type | Class and Description |
|---|---|
class |
PowerOfTwoLongConverter
A specialized implementation of the
LongConverter interface
for converting long values to and from strings using power-of-two bases. |
class |
SizeLongConverter
A converter for long values that translates between numeric values and
their string representations with a size suffix (K, M, G, T) to indicate
the magnitude (kilo, mega, giga, tera).
|
class |
SymbolsLongConverter
A specialized implementation of the
LongConverter interface for
converting long values to and from strings using arbitrary bases, specifically
those not necessarily in powers of two. |
| Modifier and Type | Field and Description |
|---|---|
static LongConverter |
Base16.INSTANCE
A shared instance of
PowerOfTwoLongConverter for Base16 conversions. |
static LongConverter |
Id.INSTANCE |
static LongConverter |
Words.INSTANCE
An instance of the
WordsLongConverter to be used for
converting between long values and their word representations. |
static LongConverter |
NanoTime.INSTANCE
An instance of
NanoTimestampLongConverter specifically configured for
conversions related to nanosecond resolution timestamps. |
static LongConverter |
ShortText.INSTANCE
An instance of
ShortTextLongConverter specifically configured for Base85 conversions. |
static LongConverter |
Base85.INSTANCE
An instance of
Base85LongConverter specifically configured for Base85 conversions. |
static LongConverter |
Base64.INSTANCE
An instance of
PowerOfTwoLongConverter specifically configured for Base64 conversions. |
Copyright © 2024. All rights reserved.