8#include <botan/bigint.h>
10#include <botan/exceptn.h>
20 const auto stream_flags = stream.flags();
21 if((stream_flags & std::ios::oct) != 0) {
25 const size_t base = (stream_flags & std::ios::hex) != 0 ? 16 : 10;
44 std::getline(stream, str);
45 if(stream.bad() || (stream.fail() && !stream.eof())) {
std::string to_dec_string() const
std::string to_hex_string() const
Invalid_Argument(std::string_view msg)
Stream_IO_Error(std::string_view err)
std::ostream & operator<<(std::ostream &out, const OID &oid)
int operator>>(int fd, Pipe &pipe)