question: public void queryFunction2 ( ByteBuffer bb , StringBuilder high , StringBuilder low ) { int baseSec = ( int ) ( windowId > > 32 ) ; bb . putInt ( baseSec ) ; short winId = ( short ) ( windowId & 0xffff ) ; bb . putShort ( winId ) ; Integer operId = operatorId ; for ( int i = 0 ; i < 3 ; i ++ ) { byte num = ( byte ) ( operId > > 8 * ( 2 - i ) ) ; bb . put ( num ) ; } ByteBuffer lowbb = bb . duplicate ( ) ; lowbb . put ( ( byte ) 0 ) ; lowbb . put ( ( byte ) 0 ) ; lowbb . put ( ( byte ) 0 ) ; for ( byte b : lowbb . array ( ) ) { low . append ( String . format ( "%02x" , b & 0xff ) ) ; } ByteBuffer highbb = bb . duplicate ( ) ; highbb . put ( ( byte ) 0xff ) ; highbb . put ( ( byte ) 0xff ) ; highbb . put ( ( byte ) 0xff ) ; for ( byte b : highbb . array ( ) ) { high . append ( String . format ( "%02x" , b & 0xff ) ) ; } }
target:  4B baseSec | 2B windowId | 3B operatorId | 3B tupleId