DecoderBuffer: add method _clear()

This commit is contained in:
Max Kellermann
2014-01-06 21:46:10 +01:00
parent 6585e18571
commit 9d9697b366
3 changed files with 12 additions and 8 deletions

View File

@@ -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.
*