@Deprecated public class Base128LongConverter extends Object implements LongConverter
| Modifier and Type | Field and Description |
|---|---|
static Base128LongConverter |
INSTANCE
Deprecated.
|
static int |
MAX_LENGTH
Deprecated.
|
| Constructor and Description |
|---|
Base128LongConverter()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
allSafeChars(WireOut wireOut)
Deprecated.
Checks if the characters in the provided
WireOut object are "safe",
meaning they don't require additional quoting or escaping, especially in contexts
like YAML serialization. |
void |
append(net.openhft.chronicle.bytes.Bytes<?> bytes,
long value)
Deprecated.
Converts the given long value to a string and appends it to the provided Bytes object.
|
void |
append(StringBuilder text,
long value)
Deprecated.
Converts the given long value to a string and appends it to the provided StringBuilder.
|
int |
maxParseLength()
Deprecated.
Returns the maximum number of characters that this converter can parse.
|
long |
parse(CharSequence text)
Deprecated.
Parses the provided
CharSequence and returns the parsed results as a
long primitive. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddEncode, asString, asText, asText, forSymbols, lengthCheck, maxParseLengthpublic static final int MAX_LENGTH
public static final Base128LongConverter INSTANCE
public int maxParseLength()
LongConvertermaxParseLength in interface LongConverterpublic long parse(CharSequence text)
LongConverterCharSequence and returns the parsed results as a
long primitive.parse in interface LongConvertertext as an long primitive.public void append(StringBuilder text, long value)
LongConverterappend in interface LongConvertertext - The StringBuilder to which the converted value is appended.value - The long value to convert.public void append(net.openhft.chronicle.bytes.Bytes<?> bytes,
long value)
LongConverterappend in interface LongConverterbytes - The Bytes object to which the converted value is appended.value - The long value to convert.public boolean allSafeChars(WireOut wireOut)
LongConverterWireOut object are "safe",
meaning they don't require additional quoting or escaping, especially in contexts
like YAML serialization.allSafeChars in interface LongConverterwireOut - The WireOut instance to check.true if no characters need escaping or additional quoting for YAML, false otherwise.Copyright © 2023. All rights reserved.