METHOD_0 ( ) { java . io . File f = java . io . File . METHOD_1 ( STRING_0 , "" ) ; f . delete ( ) ; com . IDENT_0 . util . IDENT_1 . IDENT_2 buffer = new com . IDENT_0 . util . IDENT_1 . METHOD_2 ( f , 0 , 10 , IDENT_3 . IDENT_4 . IDENT_5 , java . nio . IDENT_6 . METHOD_3 ( ) ) ; com . IDENT_0 . util . IDENT_1 . IDENT_7 IDENT_8 = buffer . METHOD_4 ( ) ; METHOD_4 . METHOD_5 ( 0 , new byte [ ] { 1 , 2 , 3 , 4 , 5 , 6 , 7 , 8 , 9 , 10 } ) ; buffer . sync ( 0 , METHOD_4 . length ( ) ) ; buffer . close ( ) ; buffer = new com . IDENT_0 . util . IDENT_1 . METHOD_2 ( f , IDENT_3 . IDENT_4 . IDENT_9 , java . nio . IDENT_6 . METHOD_3 ( ) ) ; METHOD_4 = buffer . METHOD_4 ( ) ; byte [ ] bytes = new byte [ 10 ] ; METHOD_4 . getBytes ( 0 , bytes ) ; "<AssertPlaceHolder>" ; buffer . close ( ) ; } getBytes ( long , java . nio . ByteBuffer ) { final int length = IDENT_10 . METHOD_6 ( ) ; METHOD_7 ( l , length ) ; IDENT_10 . put ( data , ( ( int ) ( ( offset ) + l ) ) , length ) ; }
org . junit . Assert . assertArrayEquals ( new byte [ ] { 1 , 2 , 3 , 4 , 5 , 6 , 7 , 8 , 9 , 10 } , bytes )