BitShares-Core
7.0.2
BitShares blockchain node software and command-line wallet software
|
Go to the documentation of this file.
8 class buffered_istream_impl;
9 class buffered_ostream_impl;
34 virtual size_t readsome(
char* buf,
size_t len );
35 virtual size_t readsome(
const std::shared_ptr<char>& buf,
size_t len,
size_t offset );
41 virtual char peek()
const;
44 std::unique_ptr<detail::buffered_istream_impl> my;
64 virtual size_t writesome(
const char* buf,
size_t len );
65 virtual size_t writesome(
const std::shared_ptr<const char>& buf,
size_t len,
size_t offset );
70 std::unique_ptr<detail::buffered_ostream_impl> my;
buffered_istream & operator=(buffered_istream &&i)
buffered_ostream & operator=(buffered_ostream &&m)
std::shared_ptr< istream > istream_ptr
virtual char peek() const
buffered_ostream(ostream_ptr o, size_t bufsize=4096)
std::shared_ptr< buffered_ostream > buffered_ostream_ptr
Reads data from an unbuffered stream and enables peek functionality.
virtual size_t writesome(const char *buf, size_t len)
virtual ~buffered_istream()
virtual size_t readsome(char *buf, size_t len)
std::shared_ptr< buffered_istream > buffered_istream_ptr
std::shared_ptr< ostream > ostream_ptr
buffered_istream(istream_ptr is)