Base64.decodeBase64Local(final byte[] base64Values) 方法
定义
Convert a array of base64 encoded byte in a array of bytes, returning the bytes original values. RFC 2045.
Base64 only uses 6 bits, so fits each set of 4 base64 in 3 bytes Base64 | c1 | c2 | c3 | c4 | |7 6 5 4 3 2 1 0:7 6 5 4 3 2 1 0:7 6 5 4 3 2 1 0| Byte | b1 | b2 | b3 |
public static byte [] decodeBase64Local(final byte[] base64Values)
参数
- base64Values
- final byte []
is an array of base64 encoded values
返回
byte []
an array of bytes with the original values
例外
IllegalArgumentException
if the provided base64 values are null, or do not fits the required length