rippled
Loading...
Searching...
No Matches
xrpld
rpc
src/xrpld/rpc/Output.h
1
#pragma once
2
3
#include <boost/utility/string_ref.hpp>
4
5
namespace
xrpl
{
6
namespace
RPC {
7
8
using
Output
=
std::function
<void(boost::string_ref
const
&)>;
9
10
inline
Output
11
stringOutput
(
std::string
& s)
12
{
13
return
[&](boost::string_ref
const
& b) { s.
append
(b.data(), b.size()); };
14
}
15
16
}
// namespace RPC
17
}
// namespace xrpl
std::string::append
T append(T... args)
std::string
std::function
xrpl::RPC::stringOutput
Output stringOutput(std::string &s)
Definition
src/xrpld/rpc/Output.h:11
xrpl
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.
Definition
algorithm.h:5
Generated by
1.9.8