diff options
Diffstat (limited to 'serialize/binary-reader.hpp')
-rw-r--r-- | serialize/binary-reader.hpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/serialize/binary-reader.hpp b/serialize/binary-reader.hpp index 7eed2145..4876e0dc 100644 --- a/serialize/binary-reader.hpp +++ b/serialize/binary-reader.hpp @@ -45,7 +45,8 @@ struct binary_reader final { template<typename T> T read() noexcept;
template<std::size_t N> constexpr std::array<char, N> read() noexcept;
constexpr std::size_t bytes_read() const noexcept { return num_bytes_read; }
- constexpr StringView read_asciiz_string() noexcept;
+ template<std::size_t Max>
+ auto read_asciiz_string() noexcept;
private:
std::size_t num_bytes_read = 0;
|