summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/io/stream_writer.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/io/stream_writer.h b/include/io/stream_writer.h
index b9c478b933..cd3317849b 100644
--- a/include/io/stream_writer.h
+++ b/include/io/stream_writer.h
@@ -44,6 +44,7 @@ class output_error : public std::runtime_error
* @param e the byte order of the written data. The Java edition
* of Minecraft uses Big Endian, the Pocket edition uses Little Endian
*/
+void write_tag(const std::string& key, const tag& t, std::ostream& os, endian::endian e = endian::big);
/**
* @brief Helper class for writing NBT tags to output streams