@Retention(value=RUNTIME) @Target(value={FIELD,PARAMETER}) public @interface Base64
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 Base64.
The provided INSTANCE is a default converter that can be used for operations relevant to the Base64 format.
Example:
@Base64
private long encodedData;
LongConverter,
PowerOfTwoLongConverterpublic static final LongConverter INSTANCE
PowerOfTwoLongConverter specifically configured for Base64 conversions.
This converter uses a defined character set suitable for Base64 representations.Copyright © 2024. All rights reserved.