question: send a message header followed by the data if present the length data field will be filled in as appropriate concode_field_sep ByteBuffer mData concode_elem_sep MsgHeader mHeader concode_field_sep Msg obtain concode_elem_sep void read concode_elem_sep void setData concode_elem_sep void release concode_elem_sep int getCmd concode_elem_sep int getStatus concode_elem_sep void setHeader concode_elem_sep void sendHeader concode_elem_sep MsgHeader recvHeader concode_elem_sep Msg recv concode_elem_sep T getAs concode_elem_sep long getToken concode_elem_sep void printHeader concode_elem_sep T getDataAs concode_elem_sep ByteBuffer getData concode_elem_sep byte getData
target: void function ( RilChannel arg0 , MsgHeader arg1 , ByteBuffer arg2 ) { int loc0 ; if ( arg2 == null ) { loc0 = 0 ; } else { arg2 . rewind ( ) ; loc0 = arg2 . remaining ( ) ; } arg1 . setLengthData ( loc0 ) ; sendHeader ( arg0 , arg1 ) ; if ( loc0 > 0 ) { arg0 . sendAll ( arg2 ) ; } }