summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorljfa-ag <ljfa-ag@web.de>2015-08-05 13:01:49 +0200
committerljfa-ag <ljfa-ag@web.de>2015-08-05 13:01:49 +0200
commit17c81269da417affccfbd16087d5a4d020712a90 (patch)
treec89d28d7c1e7c463c71f1fd778aaf08a6048cda4 /include
parent4ea7f74128aa4f7ea847a49d95c261372fa44abc (diff)
downloadProject-Tick-17c81269da417affccfbd16087d5a4d020712a90.tar.gz
Project-Tick-17c81269da417affccfbd16087d5a4d020712a90.zip
Create test for reading the bigtest file
Diffstat (limited to 'include')
-rw-r--r--include/io/stream_reader.h6
1 files changed, 6 insertions, 0 deletions
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
@@ -55,6 +55,12 @@ public:
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<tag> read_payload(tag_type type);
+
+ /**
* @brief Reads a tag type from the stream
* @param allow_end whether to consider tag_type::End valid
* @throw input_error on failure