public class Base64Decoder extends AbstractBaseNDecoder
| Modifier and Type | Field and Description |
|---|---|
private static byte[] |
DEFAULT_DECODING_TABLE
Default base-64 character decoding table.
|
private static byte[] |
URLSAFE_DECODING_TABLE
URL and filesystem-safe base-64 character decoding table.
|
| Constructor and Description |
|---|
Base64Decoder()
Creates a new instance that decodes base 64-encoded input in the default character set.
|
Base64Decoder(boolean urlSafe)
Creates a new instance that decodes base 64-encoded input in the optional URL-safe character set.
|
| Modifier and Type | Method and Description |
|---|---|
protected int |
getBitsPerChar() |
protected int |
getBlockLength() |
decode, finalize, outputSizeprivate static final byte[] DEFAULT_DECODING_TABLE
private static final byte[] URLSAFE_DECODING_TABLE
public Base64Decoder()
public Base64Decoder(boolean urlSafe)
urlSafe - True to use URL and filesystem-safe character set, false otherwise.protected int getBlockLength()
getBlockLength in class AbstractBaseNDecoderprotected int getBitsPerChar()
getBitsPerChar in class AbstractBaseNDecoder