@Retention(value=RUNTIME) @Target(value={FIELD,PARAMETER}) public @interface ShortText
Base85
Base85, also known as Ascii85, is a binary-to-ASCII encoding scheme that provides an efficient way to encode binary data for transport over text-based protocols.
When this annotation is applied to a field or parameter, it provides a hint about the expected format and representation of the data, allowing for potential encoding and decoding operations based on Base85.
The provided INSTANCE is a default converter that can be used for operations relevant to the Base85 format.
Usage Example:
@ShortText
private long encodedText;
LongConverter,
Base85,
ShortTextLongConverterpublic static final LongConverter INSTANCE
ShortTextLongConverter specifically configured for Base85 conversions.
This converter uses a character set defined by the ShortTextLongConverter to represent Base85 encoded data.Copyright © 2024. All rights reserved.