Lines Matching defs:data

275     * @return the <code>String<code> with encoded data
371 * @param binaryData <code>byte[]</code> data to be encoded
373 * @return a <code>String</code> with encoded data
482 * Decodes Base64 data into octects
484 * @param encoded String containing base64 encoded data
485 * @return byte array containing the decoded data
486 * @throws Base64DecodingException if there is a problem decoding the data
539 throw new Base64DecodingException("decoding.general");//if found "no data" just return null
560 throw new Base64DecodingException("decoding.general");//an error like "3c[Pad]r", "3cdX", "3cXd", "3cXX" where X is non data
582 throw new Base64DecodingException("decoding.general");//if found "no data" just return null
592 * Decodes Base64 data into outputstream
594 * @param base64Data String containing Base64 data
606 * Decodes Base64 data into outputstream
608 * @param base64Data Byte array containing Base64 data
651 throw new Base64DecodingException("decoding.general");//if found "no data" just return null
665 throw new Base64DecodingException("decoding.general");//if found "no data" just return null
683 throw new Base64DecodingException("decoding.general");//an error like "3c[Pad]r", "3cdX", "3cXd", "3cXX" where X is non data
695 * Decodes Base64 data into outputstream
697 * @param is containing Base64 data
708 byte []data=new byte[4];
717 data[index++]=readed;
719 data[index++]=(byte)is.read();
724 if ((data[index++]=readed)==-1) {
725 throw new Base64DecodingException("decoding.general");//if found "no data" just return null
732 b1 = base64Alphabet[data[0]];
733 b2 = base64Alphabet[data[1]];
734 b3 = base64Alphabet[data[2]];
735 b4 = base64Alphabet[data[3]];
743 byte d1=data[0],d2=data[1],d3=data[2], d4=data[3];
761 throw new Base64DecodingException("decoding.general");//an error like "3c[Pad]r", "3cdX", "3cXd", "3cXX" where X is non data
774 * remove WhiteSpace from MIME containing encoded Base64 data.
776 * @param data the byte array of base64 data (with WS)
779 protected static final int removeWhiteSpace(byte[] data) {
780 if (data == null)
785 int len = data.length;
787 byte dataS=data[i];
789 data[newSize++] = dataS;