METHOD_0 ( ) { net . IDENT_0 . packet . IDENT_1 IDENT_2 = new net . IDENT_0 . packet . METHOD_1 ( ) . METHOD_2 ( STRING_0 ) . METHOD_3 ( STRING_1 ) . METHOD_4 ( ( ( short ) ( 0 ) ) ) ; byte [ ] expected = new byte [ ] { ( ( byte ) ( INT_0 ) ) , ( ( byte ) ( INT_1 ) ) , ( ( byte ) ( INT_2 ) ) , ( ( byte ) ( INT_3 ) ) , ( ( byte ) ( INT_0 ) ) , ( ( byte ) ( INT_1 ) ) , ( ( byte ) ( INT_2 ) ) , ( ( byte ) ( INT_3 ) ) , ( ( byte ) ( INT_0 ) ) , ( ( byte ) ( INT_1 ) ) , ( ( byte ) ( INT_2 ) ) , ( ( byte ) ( INT_3 ) ) , 0 , 0 } ; "<AssertPlaceHolder>" ; } serialize ( ) { METHOD_5 ( ) ; int IDENT_3 = 0 ; for ( net . IDENT_0 . packet . IDENT_4 IDENT_5 : this . options ) { if ( ( ( IDENT_5 . getCode ( ) ) == 0 ) || ( ( IDENT_5 . getCode ( ) ) == 255 ) ) { IDENT_3 += 1 ; } else { IDENT_3 += 2 + ( ( int ) ( 255 & ( IDENT_5 . METHOD_6 ( ) ) ) ) ; } } int IDENT_6 = 0 ; if ( IDENT_3 < INT_4 ) IDENT_6 = INT_4 - IDENT_3 ; byte [ ] data = new byte [ ( INT_5 + IDENT_3 ) + IDENT_6 ] ; java . nio . ByteBuffer IDENT_7 = java . nio . ByteBuffer . METHOD_7 ( data ) ; IDENT_7 . put ( this . IDENT_8 ) ; IDENT_7 . put ( this . IDENT_9 ) ; IDENT_7 . put ( this . IDENT_10 ) ; IDENT_7 . put ( this . IDENT_11 ) ; IDENT_7 . METHOD_8 ( this . IDENT_12 ) ; IDENT_7 . METHOD_9 ( this . IDENT_13 ) ; IDENT_7 . METHOD_9 ( this . IDENT_14 ) ; IDENT_7 . METHOD_8 ( this . IDENT_15 ) ; IDENT_7 . METHOD_8 ( this . IDENT_16 ) ; IDENT_7 . METHOD_8 ( this . IDENT_17 ) ; IDENT_7 . METHOD_8 ( this . IDENT_18 ) ; IDENT_7 . put ( this . IDENT_19 ) ; if ( ( this . IDENT_19 . length ) < 16 ) { for ( int i = 0 ; i < ( 16 - ( this . IDENT_19 . length ) ) ; ++ i ) { IDENT_7 . put ( ( ( byte ) ( 0 ) ) ) ; } } METHOD_10 ( this . IDENT_20 , IDENT_7 , INT_6 ) ; METHOD_10 ( this . IDENT_21 , IDENT_7 , INT_7 ) ; IDENT_7 . put ( ( ( byte ) ( INT_8 ) ) ) ; IDENT_7 . put ( ( ( byte ) ( INT_9 ) ) ) ; IDENT_7 . put ( ( ( byte ) ( INT_10 ) ) ) ; IDENT_7 . put ( ( ( byte ) ( INT_8 ) ) ) ; for ( net . IDENT_0 . packet . IDENT_4 IDENT_5 : this . options ) { int code = ( IDENT_5 . getCode ( ) ) & 255 ; IDENT_7 . put ( ( ( byte ) ( code ) ) ) ; if ( ( code != 0 ) && ( code != 255 ) ) { IDENT_7 . put ( IDENT_5 . METHOD_6 ( ) ) ; IDENT_7 . put ( IDENT_5 . METHOD_11 ( ) ) ; } } return data ; }
org . junit . Assert . assertTrue ( java . util . Arrays . equals ( expected , IDENT_2 . serialize ( ) ) )