METHOD_0 ( ) { java . lang . String input = STRING_0 ; byte [ ] IDENT_0 = new byte [ ] { ( ( byte ) ( 0 ) ) , ( ( byte ) ( 16 ) ) , ( ( byte ) ( INT_0 ) ) , ( ( byte ) ( 16 ) ) , ( ( byte ) ( INT_1 ) ) , ( ( byte ) ( INT_2 ) ) , ( ( byte ) ( INT_3 ) ) , ( ( byte ) ( INT_4 ) ) , ( ( byte ) ( INT_5 ) ) , ( ( byte ) ( INT_6 ) ) , ( ( byte ) ( INT_7 ) ) , ( ( byte ) ( INT_8 ) ) , ( ( byte ) ( INT_9 ) ) , ( ( byte ) ( 20 ) ) , ( ( byte ) ( INT_10 ) ) , ( ( byte ) ( INT_1 ) ) , ( ( byte ) ( INT_11 ) ) , ( ( byte ) ( INT_12 ) ) , ( ( byte ) ( INT_13 ) ) , ( ( byte ) ( INT_14 ) ) , ( ( byte ) ( INT_15 ) ) , ( ( byte ) ( INT_16 ) ) , ( ( byte ) ( INT_17 ) ) , ( ( byte ) ( INT_18 ) ) , ( ( byte ) ( INT_19 ) ) , ( ( byte ) ( INT_20 ) ) , ( ( byte ) ( INT_21 ) ) , ( ( byte ) ( INT_4 ) ) , ( ( byte ) ( INT_22 ) ) , ( ( byte ) ( INT_23 ) ) , ( ( byte ) ( INT_24 ) ) , ( ( byte ) ( INT_25 ) ) , ( ( byte ) ( INT_26 ) ) , ( ( byte ) ( INT_27 ) ) , ( ( byte ) ( INT_28 ) ) , ( ( byte ) ( INT_29 ) ) , ( ( byte ) ( INT_30 ) ) , ( ( byte ) ( INT_31 ) ) , ( ( byte ) ( INT_32 ) ) , ( ( byte ) ( INT_7 ) ) , ( ( byte ) ( INT_33 ) ) , ( ( byte ) ( INT_34 ) ) , ( ( byte ) ( INT_35 ) ) , ( ( byte ) ( INT_36 ) ) , ( ( byte ) ( INT_37 ) ) , ( ( byte ) ( INT_38 ) ) , ( ( byte ) ( INT_39 ) ) , ( ( byte ) ( INT_40 ) ) } ; java . nio . ByteBuffer expected = java . nio . ByteBuffer . METHOD_1 ( IDENT_0 ) ; java . nio . ByteBuffer out = org . kaazing . IDENT_1 . ws . internal . util . IDENT_2 . decode ( input ) ; "<AssertPlaceHolder>" ; } decode ( java . lang . String ) { org . kaazing . IDENT_1 . ws . internal . util . IDENT_2 . LOG . METHOD_2 ( org . kaazing . IDENT_1 . ws . internal . util . IDENT_2 . IDENT_3 , STRING_1 , IDENT_4 ) ; if ( IDENT_4 == null ) { return null ; } int length = IDENT_4 . length ( ) ; if ( ( length OP_0 4 ) != 0 ) { throw new java . lang . IllegalArgumentException ( STRING_2 ) ; } byte [ ] IDENT_5 = IDENT_4 . getBytes ( ) ; byte [ ] IDENT_6 = new byte [ ( length / 4 ) * 3 ] ; int IDENT_7 = 0 ; int i = 0 ; while ( i < length ) { int IDENT_8 = IDENT_5 [ ( i ++ ) ] ; int IDENT_9 = IDENT_5 [ ( i ++ ) ] ; int IDENT_10 = IDENT_5 [ ( i ++ ) ] ; int IDENT_11 = IDENT_5 [ ( i ++ ) ] ; int IDENT_12 = org . kaazing . IDENT_1 . ws . internal . util . IDENT_2 . METHOD_0 ( IDENT_8 ) ; int IDENT_13 = org . kaazing . IDENT_1 . ws . internal . util . IDENT_2 . METHOD_0 ( IDENT_9 ) ; int IDENT_14 = org . kaazing . IDENT_1 . ws . internal . util . IDENT_2 . METHOD_0 ( IDENT_10 ) ; int IDENT_15 = org . kaazing . IDENT_1 . ws . internal . util . IDENT_2 . METHOD_0 ( IDENT_11 ) ; IDENT_6 [ ( IDENT_7 ++ ) ] = ( ( byte ) ( ( ( IDENT_12 << 2 ) & INT_41 ) | ( ( IDENT_13 > > 4 ) & 3 ) ) ) ; if ( IDENT_10 != ( org . kaazing . IDENT_1 . ws . internal . util . IDENT_2 . IDENT_16 ) ) { IDENT_6 [ ( IDENT_7 ++ ) ] = ( ( byte ) ( ( ( IDENT_13 << 4 ) & INT_42 ) | ( ( IDENT_14 > > 2 ) & 15 ) ) ) ; if ( IDENT_11 != ( org . kaazing . IDENT_1 . ws . internal . util . IDENT_2 . IDENT_16 ) ) { IDENT_6 [ ( IDENT_7 ++ ) ] = ( ( byte ) ( ( ( IDENT_14 << 6 ) & INT_43 ) | ( IDENT_15 & INT_44 ) ) ) ; } } } return java . nio . ByteBuffer . METHOD_1 ( IDENT_6 , 0 , IDENT_7 ) ; }
org . junit . Assert . assertEquals ( out , expected )