public final class Base64Codec extends BaseNCodec
It is case SENSITIVE.
The only difference between base-64 and base-64-url is that the second substitutes the chars '+' and '/' with '-' and '_'.
This codec complies with RFC-4648, encoding a byte array sequentially. If you
need a codec that encodes integers using the remainder operator (modulus),
use the static factory BaseNCodec.newInstance(BaseN).
BaseNCodec.CustomDivider| Modifier and Type | Field and Description |
|---|---|
static Base64Codec |
INSTANCE
A shared immutable instance.
|
base, decoder, encoder| Constructor and Description |
|---|
Base64Codec()
Default constructor.
|
decode, encode, getBase, newInstance, newInstance, newInstance, newInstance, newInstance, newInstance, validatepublic static final Base64Codec INSTANCE
Copyright © 2024. All rights reserved.