/* Returns true if the current stream is empty.  */
static bool ad_stream_is_empty(const struct ad_stream *stream)
/* Returns true if the current stream is empty.  */
static bool ad_stream_is_empty(const struct ad_stream *stream)
{
	return stream->remaining_size == 0;
}