METHOD_0 ( ) { java . nio . ByteBuffer buffer = java . nio . ByteBuffer . METHOD_1 ( INT_0 ) ; org . apache . kafka . common . record . IDENT_0 builder = org . apache . kafka . common . record . IDENT_1 . builder ( buffer , IDENT_2 . IDENT_3 , IDENT_4 . IDENT_5 , 0L ) ; builder . append ( INT_1 , "a" . getBytes ( ) , "1" . getBytes ( ) ) ; builder . append ( INT_2 , "b" . getBytes ( ) , "2" . getBytes ( ) ) ; builder . close ( ) ; int position = buffer . position ( ) ; builder = org . apache . kafka . common . record . IDENT_1 . builder ( buffer , IDENT_2 . IDENT_3 , IDENT_4 . IDENT_5 , INT_3 ) ; builder . append ( INT_4 , STRING_0 . getBytes ( ) , STRING_1 . getBytes ( ) ) ; builder . append ( INT_5 , STRING_2 . getBytes ( ) , STRING_3 . getBytes ( ) ) ; builder . close ( ) ; buffer . METHOD_2 ( ) ; buffer . METHOD_3 ( ( position + ( IDENT_6 . IDENT_7 ) ) , 9 ) ; org . apache . kafka . common . record . IDENT_8 IDENT_9 = new org . apache . kafka . common . record . METHOD_4 ( buffer , Integer . MAX_VALUE ) ; "<AssertPlaceHolder>" ; IDENT_9 . METHOD_5 ( ) ; } METHOD_5 ( ) { int IDENT_10 = buffer . METHOD_6 ( ) ; java . lang . Integer IDENT_11 = METHOD_7 ( ) ; if ( ( IDENT_11 == null ) || ( METHOD_6 < IDENT_11 ) ) return null ; byte IDENT_12 = buffer . get ( ( ( buffer . position ( ) ) + ( org . apache . kafka . common . record . IDENT_13 . IDENT_14 ) ) ) ; java . nio . ByteBuffer IDENT_15 = buffer . METHOD_8 ( ) ; IDENT_15 . METHOD_9 ( IDENT_11 ) ; buffer . position ( ( ( buffer . position ( ) ) + IDENT_11 ) ) ; if ( IDENT_12 > ( IDENT_16 . IDENT_17 ) ) return new org . apache . kafka . common . record . METHOD_10 ( IDENT_15 ) ; else return new org . apache . kafka . common . record . IDENT_18 . METHOD_11 ( IDENT_15 ) ; }
org . junit . Assert . assertNotNull ( IDENT_9 . METHOD_5 ( ) )