Bitcoin Core 28.99.0
P2P Digital Currency
|
#include <subprocess.h>
Public Member Functions | |
Buffer ()=default | |
Buffer (size_t cap) | |
void | add_cap (size_t cap) |
Public Attributes | |
std::vector< char > | buf |
size_t | length = 0 |
class: Buffer This class is a very thin wrapper around std::vector<char> This is basically used to determine the length of the actual data stored inside the dynamically resized vector.
This is what is returned as the output to the communicate function, so, users must know about this class.
OutBuffer and ErrBuffer are just different typedefs to this class.
Definition at line 678 of file subprocess.h.
|
default |
|
inlineexplicit |
Definition at line 682 of file subprocess.h.
|
inline |
std::vector<char> subprocess::Buffer::buf |
Definition at line 686 of file subprocess.h.
size_t subprocess::Buffer::length = 0 |
Definition at line 687 of file subprocess.h.