METHOD_0 ( ) { java . sql . IDENT_0 result = ( ( java . sql . IDENT_0 ) ( METHOD_1 ( STRING_0 , new java . lang . Class < ? > [ ] { org . teiid . core . types . IDENT_1 . IDENT_2 . IDENT_3 , org . teiid . core . types . IDENT_1 . IDENT_2 . IDENT_4 } , new java . lang . Object [ ] { new org . teiid . core . types . METHOD_2 ( new javax . sql . IDENT_5 . IDENT_6 . METHOD_3 ( STRING_1 . getBytes ( STRING_2 ) ) ) , STRING_3 } , null ) ) ) ; java . lang . String string = result . METHOD_4 ( 1 , ( ( int ) ( result . length ( ) ) ) ) ; "<AssertPlaceHolder>" ; } decode ( java . lang . IDENT_7 ) { if ( ( ( s . length ( ) ) OP_0 4 ) != 0 ) { throw new java . lang . IllegalArgumentException ( STRING_4 ) ; } byte [ ] IDENT_8 = org . teiid . core . util . IDENT_9 . IDENT_10 ; int len = s . length ( ) ; byte [ ] IDENT_11 = new byte [ ( len * 3 ) / 4 ] ; int IDENT_12 = 0 ; byte [ ] IDENT_13 = new byte [ 4 ] ; int IDENT_14 = 0 ; int i = 0 ; byte IDENT_15 = 0 ; byte IDENT_16 = 0 ; for ( i = 0 ; i < len ; i ++ ) { IDENT_15 = ( ( byte ) ( ( s . charAt ( i ) ) & INT_0 ) ) ; IDENT_16 = IDENT_8 [ IDENT_15 ] ; if ( IDENT_16 >= ( org . teiid . core . util . IDENT_9 . IDENT_17 ) ) { if ( IDENT_16 >= ( org . teiid . core . util . IDENT_9 . IDENT_18 ) ) { IDENT_13 [ ( IDENT_14 ++ ) ] = IDENT_15 ; if ( IDENT_14 > 3 ) { IDENT_12 += org . teiid . core . util . IDENT_9 . METHOD_5 ( IDENT_13 , 0 , IDENT_11 , IDENT_12 ) ; IDENT_14 = 0 ; if ( IDENT_15 == ( org . teiid . core . util . IDENT_9 . IDENT_19 ) ) break ; } } } else { throw new java . lang . IllegalArgumentException ( STRING_4 ) ; } } byte [ ] out = new byte [ IDENT_12 ] ; java . lang . System . METHOD_6 ( IDENT_11 , 0 , out , 0 , IDENT_12 ) ; return out ; }
org . junit . Assert . assertEquals ( STRING_1 , new java . lang . String ( org . teiid . core . util . IDENT_9 . decode ( string ) , STRING_2 ) )