summaryrefslogtreecommitdiffhomepage
path: root/serialize
diff options
context:
space:
mode:
Diffstat (limited to 'serialize')
-rw-r--r--serialize/binary-reader.inl1
1 files changed, 1 insertions, 0 deletions
diff --git a/serialize/binary-reader.inl b/serialize/binary-reader.inl
index 9e27f1a0..587b9cd6 100644
--- a/serialize/binary-reader.inl
+++ b/serialize/binary-reader.inl
@@ -80,6 +80,7 @@ constexpr auto binary_reader<It>::read_asciiz_string() noexcept(false)
if (c == '\0')
{
ret.len = i;
+ num_bytes_read += i+1;
return ret;
}
}