diff --git a/oxenmq/base32z.h b/oxenmq/base32z.h index 074e522..70f019c 100644 --- a/oxenmq/base32z.h +++ b/oxenmq/base32z.h @@ -136,7 +136,7 @@ constexpr bool is_base32z(std::string_view s) { return is_base32z<>(s); } /// Converts a sequence of base32z digits to bytes. Undefined behaviour if any characters are not /// valid base32z alphabet characters. It is permitted for the input and output ranges to overlap -/// as long as `out` is no earlier than `begin`. Note that if you pass in a sequence that could not +/// as long as `out` is no later than `begin`. Note that if you pass in a sequence that could not /// have been created by a base32z encoding of a byte sequence, we treat the excess bits as if they /// were not provided. /// diff --git a/oxenmq/base64.h b/oxenmq/base64.h index de703ae..c9538a6 100644 --- a/oxenmq/base64.h +++ b/oxenmq/base64.h @@ -165,7 +165,7 @@ constexpr bool is_base64(std::string_view s) { return is_base64(s.begin(), s.end /// Converts a sequence of base64 digits to bytes. Undefined behaviour if any characters are not /// valid base64 alphabet characters. It is permitted for the input and output ranges to overlap as -/// long as `out` is no earlier than `begin`. Trailing padding characters are permitted but not +/// long as `out` is no later than `begin`. Trailing padding characters are permitted but not /// required. /// /// It is possible to provide "impossible" base64 encoded values; for example "YWJja" which has 30 diff --git a/oxenmq/hex.h b/oxenmq/hex.h index fdfad3f..68cf7e7 100644 --- a/oxenmq/hex.h +++ b/oxenmq/hex.h @@ -131,7 +131,7 @@ constexpr char from_hex_pair(unsigned char a, unsigned char b) noexcept { return /// Converts a sequence of hex digits to bytes. Undefined behaviour if any characters are not in /// [0-9a-fA-F] or if the input sequence length is not even: call `is_hex` first if you need to -/// check. It is permitted for the input and output ranges to overlap as long as out is no earlier +/// check. It is permitted for the input and output ranges to overlap as long as out is no later /// than begin. template void from_hex(InputIt begin, InputIt end, OutputIt out) {