public class Base64Decoder extends Object implements Decoder<byte[],byte[]>, Serializable
| Modifier and Type | Field and Description |
|---|---|
static Base64Decoder |
INSTANCE
单例对象
|
| Constructor and Description |
|---|
Base64Decoder() |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
decode(byte[] in)
解码Base64
|
byte[] |
decode(byte[] in,
int pos,
int length)
解码Base64
|
boolean |
isBase64Code(byte octet)
给定的字符是否为Base64字符
|
public static Base64Decoder INSTANCE
public byte[] decode(byte[] in)
public byte[] decode(byte[] in,
int pos,
int length)
in - 输入pos - 开始位置length - 长度public boolean isBase64Code(byte octet)
octet - 被检查的字符Copyright © 2025. All rights reserved.