Very fast Base64 decoder guaranteed to work in all >= Java 7 JDK and Android environments. @since 0.10.0
| 24 | * @since 0.10.0 |
| 25 | */ |
| 26 | class Base64Decoder extends Base64Support implements Decoder<CharSequence, byte[]> { |
| 27 | |
| 28 | Base64Decoder() { |
| 29 | super(Base64.DEFAULT); |
| 30 | } |
| 31 | |
| 32 | Base64Decoder(Base64 base64) { |
| 33 | super(base64); |
| 34 | } |
| 35 | |
| 36 | @Override |
| 37 | public byte[] decode(CharSequence s) throws DecodingException { |
| 38 | Assert.notNull(s, "String argument cannot be null"); |
| 39 | return this.base64.decodeFast(s); |
| 40 | } |
| 41 | } |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…