host/stream_comm.c
/** Read but ignore #payload_length bytes from input stream. This will also
  * set #payload_length to 0 (if everything goes well). This function is
  * useful for ensuring that the entire payload of a packet is read from the
  * stream device.
  */
Read but ignore #payload_length bytes from input stream. This will also
set #payload_length to 0 (if everything goes well). This function is
useful for ensuring that the entire payload of a packet is read from the
stream device.
Read but ignore #payload_length bytes from input stream . This will also set #payload_length to 0 ( if everything goes well ) . This function is useful for ensuring that the entire payload of a packet is read from the stream device .
static void readAndIgnoreInput(void)
{
	if (payload_length > 0)
		for (; payload_length > 0; payload_length--)
			streamGetOneByte();
}
static void readAndIgnoreInput ( void ) { if ( payload_length > 0 ) for ( ; payload_length > 0 ; payload_length -- ) streamGetOneByte ( ) ; }
Read but ignore #payload_length bytes from input stream.
Read but ignore #payload_length bytes from input stream .