OpenCBDC Transaction Processor
Loading...
Searching...
No Matches
stream_serializer.cpp
Go to the documentation of this file.
1// Copyright (c) 2021 MIT Digital Currency Initiative,
2// Federal Reserve Bank of Boston
3// Distributed under the MIT software license, see the accompanying
4// file COPYING or http://www.opensource.org/licenses/mit-license.php.
5
7
8namespace cbdc {
9 stream_serializer::stream_serializer(std::ios& s) : m_str(s) {}
10
11 stream_serializer::operator bool() const {
12 return m_str.good();
13 }
14}
stream_serializer(std::ios &s)
Constructor.