diff --git a/source/MP4.BinaryStream.cpp b/source/MP4.BinaryStream.cpp index 05196f3..c70aec3 100644 --- a/source/MP4.BinaryStream.cpp +++ b/source/MP4.BinaryStream.cpp @@ -605,3 +605,8 @@ std::istream & BinaryStream::seekg( std::streamoff off, std::ios_base::seekdir d { return stream.seekg( off, dir ); } + +void BinaryStream::clear( void ) +{ + return stream.clear(); +} diff --git a/source/include/MP4.BinaryStream.h b/source/include/MP4.BinaryStream.h index 6857e1f..c64c1b2 100644 --- a/source/include/MP4.BinaryStream.h +++ b/source/include/MP4.BinaryStream.h @@ -129,6 +129,7 @@ namespace MP4 std::istream & unget( void ); std::istream & seekg( std::streampos pos ); std::istream & seekg( std::streamoff off, std::ios_base::seekdir dir ); + void clear( void ); }; }