METHOD_0 ( ) { byte [ ] IDENT_0 = new byte [ ] { 1 , 2 , 3 , 4 } ; io . netty . buffer . IDENT_1 buf = io . netty . buffer . IDENT_2 . METHOD_1 ( ) ; IDENT_3 . IDENT_4 . IDENT_5 . network . netty . serialization . IDENT_6 . METHOD_2 ( IDENT_0 , buf ) ; System . out . println ( ( STRING_0 + ( io . netty . buffer . IDENT_7 . METHOD_3 ( buf ) ) ) ) ; byte [ ] IDENT_8 = ( ( byte [ ] ) ( IDENT_3 . IDENT_4 . IDENT_5 . network . netty . serialization . IDENT_6 . METHOD_4 ( buf , com . google . common . base . Optional . METHOD_5 ( ) ) ) ) ; "<AssertPlaceHolder>" ; } METHOD_4 ( io . netty . buffer . IDENT_1 , com . google . common . base . Optional ) { IDENT_3 . IDENT_4 . IDENT_5 . network . netty . serialization . IDENT_6 . IDENT_9 . METHOD_6 ( ) . METHOD_7 ( ) ; try { IDENT_3 . IDENT_4 . IDENT_5 . network . netty . serialization . IDENT_10 s = null ; if ( IDENT_11 . METHOD_8 ( ) ) { java . lang . Object IDENT_12 = IDENT_11 . get ( ) ; if ( IDENT_12 instanceof java . lang . Class ) { java . lang . Class c = ( ( java . lang . Class ) ( IDENT_11 . get ( ) ) ) ; s = IDENT_3 . IDENT_4 . IDENT_5 . network . netty . serialization . IDENT_6 . METHOD_9 ( c ) ; } } int IDENT_13 = - 1 ; if ( s == null ) { byte [ ] IDENT_14 = new byte [ IDENT_3 . IDENT_4 . IDENT_5 . network . netty . serialization . IDENT_6 . IDENT_15 . getBytes ( ) ] ; if ( ! ( ( buf . METHOD_10 ( ) ) >= ( IDENT_14 . length ) ) ) { IDENT_3 . IDENT_4 . IDENT_5 . network . netty . serialization . IDENT_6 . LOG . error ( STRING_1 , IDENT_14 . length , buf . METHOD_10 ( ) ) ; } buf . METHOD_11 ( IDENT_14 ) ; byte [ ] IDENT_16 = new byte [ IDENT_3 . IDENT_4 . IDENT_5 . network . netty . serialization . IDENT_6 . IDENT_17 ] ; java . util . Arrays . METHOD_12 ( IDENT_16 , ( ( byte ) ( 0 ) ) ) ; java . lang . System . METHOD_13 ( IDENT_14 , 0 , IDENT_16 , ( ( IDENT_3 . IDENT_4 . IDENT_5 . network . netty . serialization . IDENT_6 . IDENT_17 ) - ( IDENT_3 . IDENT_4 . IDENT_5 . network . netty . serialization . IDENT_6 . IDENT_15 . getBytes ( ) ) ) , IDENT_14 . length ) ; IDENT_13 = com . google . common . IDENT_18 . IDENT_19 . METHOD_14 ( IDENT_16 ) ; IDENT_3 . IDENT_4 . IDENT_5 . network . netty . serialization . IDENT_6 . LOG . trace ( STRING_2 , new java . lang . Object [ ] { IDENT_13 , IDENT_14 , IDENT_3 . IDENT_4 . IDENT_5 . network . netty . serialization . IDENT_6 . IDENT_17 } ) ; s = IDENT_3 . IDENT_4 . IDENT_5 . network . netty . serialization . IDENT_6 . IDENT_20 [ IDENT_13 ] ; } if ( s == null ) { IDENT_3 . IDENT_4 . IDENT_5 . network . netty . serialization . IDENT_6 . LOG . error ( STRING_3 , IDENT_13 , IDENT_11 ) ; return null ; } IDENT_3 . IDENT_4 . IDENT_5 . network . netty . serialization . IDENT_6 . LOG . debug ( STRING_4 , s , IDENT_11 ) ; return s . METHOD_4 ( buf , IDENT_11 ) ; } finally { IDENT_3 . IDENT_4 . IDENT_5 . network . netty . serialization . IDENT_6 . IDENT_9 . METHOD_6 ( ) . METHOD_15 ( ) ; } }
org . junit . Assert . assertArrayEquals ( IDENT_0 , IDENT_8 )