Low-level access to decoding ASCII characters in the form of a byte array. Ignores GUNZIP option, if it's set. This is not generally a recommended method, although it is used internally as part of the decoding process. Special case: if len = 0, an empty array is returned. Still, if
( byte[] source )
| 1116 | * @since 2.3.1 |
| 1117 | */ |
| 1118 | public static byte[] decode( byte[] source ) |
| 1119 | throws java.io.IOException { |
| 1120 | byte[] decoded = null; |
| 1121 | // try { |
| 1122 | decoded = decode( source, 0, source.length, Base64.NO_OPTIONS ); |
| 1123 | // } catch( java.io.IOException ex ) { |
| 1124 | // assert false : "IOExceptions only come from GZipping, which is turned off: " + ex.getMessage(); |
| 1125 | // } |
| 1126 | return decoded; |
| 1127 | } |
| 1128 | |
| 1129 | |
| 1130 |
no test coverage detected