285: added throws clause and updated javadoc

This commit is contained in:
Les Hazlewood 2018-07-23 15:53:54 -04:00
parent fbcc9ab931
commit 3549cf48db
1 changed files with 2 additions and 1 deletions

View File

@ -217,8 +217,9 @@ final class Base64 { //final and package-protected on purpose
*
* @param sArr The source array. Length 0 will return an empty array. <code>null</code> will throw an exception.
* @return The decoded array of bytes. May be of length 0.
* @throws DecodingException on illegal input
*/
final byte[] decodeFast(char[] sArr) {
final byte[] decodeFast(char[] sArr) throws DecodingException {
// Check special case
int sLen = sArr != null ? sArr.length : 0;