From 17c81269da417affccfbd16087d5a4d020712a90 Mon Sep 17 00:00:00 2001 From: ljfa-ag Date: Wed, 5 Aug 2015 13:01:49 +0200 Subject: Create test for reading the bigtest file --- include/io/stream_reader.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'include') diff --git a/include/io/stream_reader.h b/include/io/stream_reader.h index 9d503f8ea4..07eb36192d 100644 --- a/include/io/stream_reader.h +++ b/include/io/stream_reader.h @@ -54,6 +54,12 @@ public: ///Returns the byte order endian::endian get_endian() const; + /** + * @brief Reads a tag of the given type without name from the stream + * @throw input_error on failure + */ + std::unique_ptr read_payload(tag_type type); + /** * @brief Reads a tag type from the stream * @param allow_end whether to consider tag_type::End valid -- cgit 0.0.5-2-1-g0f52