METHOD_0 ( ) { com . alibaba . IDENT_0 . IDENT_1 . parse . driver . IDENT_2 . IDENT_3 . IDENT_4 IDENT_5 = com . alibaba . IDENT_0 . IDENT_1 . parse . driver . IDENT_2 . IDENT_3 . IDENT_6 . parse ( STRING_0 ) ; byte [ ] bytes = IDENT_5 . encode ( ) ; byte [ ] expected = new byte [ ] { 1 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , INT_0 , INT_1 , INT_2 , ( ( byte ) ( INT_3 ) ) , INT_4 , INT_5 , INT_6 , ( ( byte ) ( INT_7 ) ) , ( ( byte ) ( INT_8 ) ) , 4 , 2 , INT_9 , ( ( byte ) ( INT_10 ) ) , INT_6 , 0 , 2 , 1 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 1 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 2 , 0 , 0 , 0 , 0 , 0 , 0 , 0 } ; for ( int i = 0 ; i < ( bytes . length ) ; i ++ ) { "<AssertPlaceHolder>" ; } } encode ( ) { java . io . ByteArrayOutputStream out = new java . io . ByteArrayOutputStream ( ) ; java . nio . ByteBuffer IDENT_7 = java . nio . ByteBuffer . METHOD_1 ( new byte [ 16 ] ) ; IDENT_7 . METHOD_2 ( IDENT_8 . METHOD_3 ( ) ) ; IDENT_7 . METHOD_2 ( IDENT_8 . METHOD_4 ( ) ) ; out . write ( IDENT_7 . array ( ) ) ; com . alibaba . IDENT_0 . IDENT_1 . parse . driver . IDENT_2 . utils . IDENT_9 . METHOD_5 ( IDENT_10 . size ( ) , out ) ; for ( com . alibaba . IDENT_0 . IDENT_1 . parse . driver . IDENT_2 . IDENT_3 . IDENT_11 . IDENT_12 IDENT_13 : IDENT_10 ) { com . alibaba . IDENT_0 . IDENT_1 . parse . driver . IDENT_2 . utils . IDENT_9 . METHOD_5 ( IDENT_13 . start , out ) ; com . alibaba . IDENT_0 . IDENT_1 . parse . driver . IDENT_2 . utils . IDENT_9 . METHOD_5 ( IDENT_13 . IDENT_14 , out ) ; } return out . toByteArray ( ) ; }
org . junit . Assert . assertEquals ( expected [ i ] , bytes [ i ] )