/** * Decode given string into a decoded byte array. * * @param str Base64 String to be decoded. * @return All decoded octets as byte array. */ public static byte[] decode(final String str) { Base64Decoder dec = new Base64Decoder(); dec.translate(str); return dec.getByteArray(); }
throw new SAXException(Messages.format("dsml.closingTagNotRecognized", tagName)); if (_decoder != null) { _attr.addValue(_decoder.getByteArray()); _decoder = null; } else {
_attr.add(_decoder.getByteArray()); _decoder = null; } else {