<s>[INST] discards any characters outside of the base64 alphabet see page 25 of rfc 2045 `` any characters outside of the base64 alphabet are to be ignored in base64 encoded data . '' concode_field_sep byte[] decodingTable concode_elem_sep byte[] encodingTable concode_field_sep void encode concode_elem_sep byte[] encode concode_elem_sep int computeEncodedSize concode_elem_sep byte[] decode concode_elem_sep byte[] decode concode_elem_sep String decode concode_elem_sep String decode concode_elem_sep boolean isValidBase64Byte concode_elem_sep String discardNonBase64Chars [/INST] byte [ ] function ( byte [ ] arg0 ) { byte loc0 [ ] = new byte [ arg0 . length ] ; int loc1 = 0 ; for ( int loc2 = 0 ; loc2 < arg0 . length ; loc2 ++ ) { if ( isValidBase64Byte ( arg0 [ loc2 ] ) ) { loc0 [ loc1 ++ ] = arg0 [ loc2 ] ; } } byte loc3 [ ] = new byte [ loc1 ] ; System . arraycopy ( loc0 , 0 , loc3 , 0 , loc1 ) ; return loc3 ; </s>