From eac9fabd4835cfde118ed402154952810450018c Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Mon, 6 Jan 2014 21:46:10 +0100 Subject: DecoderBuffer: add method _clear() --- src/DecoderBuffer.hxx | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/DecoderBuffer.hxx') diff --git a/src/DecoderBuffer.hxx b/src/DecoderBuffer.hxx index 92cc31aa4..70cf63faa 100644 --- a/src/DecoderBuffer.hxx +++ b/src/DecoderBuffer.hxx @@ -56,6 +56,9 @@ decoder_buffer_is_empty(const DecoderBuffer *buffer); bool decoder_buffer_is_full(const DecoderBuffer *buffer); +void +decoder_buffer_clear(DecoderBuffer *buffer); + /** * Read data from the input_stream and append it to the buffer. * -- cgit v1.2.3