METHOD_0 ( ) { byte [ ] IDENT_0 = runtime . METHOD_1 ( ) . getBytes ( org . apache . IDENT_1 . client . api . UTF_8 ) ; IDENT_2 . METHOD_2 ( IDENT_3 , java . nio . ByteBuffer . METHOD_3 ( IDENT_0 , 1 , ( ( IDENT_0 . length ) / 2 ) ) ) ; byte [ ] IDENT_4 = new byte [ ( IDENT_0 . length ) / 2 ] ; java . lang . System . METHOD_4 ( IDENT_0 , 1 , IDENT_4 , 0 , ( ( IDENT_0 . length ) / 2 ) ) ; io . netty . buffer . IDENT_5 buffer = IDENT_6 . METHOD_5 ( ) ; byte [ ] IDENT_7 = io . netty . buffer . IDENT_8 . getBytes ( buffer ) ; "<AssertPlaceHolder>" ; verify ( IDENT_2 , times ( 1 ) ) . METHOD_2 ( eq ( IDENT_3 ) , any ( io . netty . buffer . IDENT_5 . class ) ) ; } getBytes ( byte [ ] ) { int IDENT_9 = 0 ; for ( int IDENT_10 = 0 ; ( IDENT_10 < ( IDENT_11 . size ( ) ) ) && ( IDENT_9 < ( IDENT_12 . length ) ) ; IDENT_10 ++ ) { io . netty . buffer . IDENT_5 b = IDENT_11 . get ( IDENT_10 ) ; int len = java . lang . Math . min ( b . METHOD_6 ( ) , ( ( IDENT_12 . length ) - IDENT_9 ) ) ; b . getBytes ( b . METHOD_7 ( ) , IDENT_12 , IDENT_9 , len ) ; IDENT_9 += len ; } return IDENT_9 ; }
org . junit . Assert . assertArrayEquals ( IDENT_4 , IDENT_7 )