7#include <botan/internal/tls_reader.h>
9#include <botan/exceptn.h>
10#include <botan/internal/fmt.h>
14void TLS_Data_Reader::assert_at_least(
size_t n)
const {
17 throw_decode_error(
fmt(
"Expected {} bytes remaining, only {} left", n, left));
21void TLS_Data_Reader::throw_decode_error(std::string_view why)
const {
Decoding_Error(std::string_view name)
size_t remaining_bytes() const
std::string fmt(std::string_view format, const T &... args)