|
BitShares-Core
7.0.2
BitShares blockchain node software and command-line wallet software
|
#include <asio.hpp>
Public Member Functions | |
| istream (std::shared_ptr< AsyncReadStream > str) | |
| virtual size_t | readsome (char *buf, size_t len) |
| virtual size_t | readsome (const std::shared_ptr< char > &buf, size_t len, size_t offset) |
Public Member Functions inherited from fc::istream | |
| virtual | ~istream () |
| istream & | read (char *buf, size_t len) |
| istream & | read (const std::shared_ptr< char > &buf, size_t len, size_t offset=0) |
| virtual char | get () |
| void | get (char &c) |
|
inline |
|
inlinevirtual |
read at least 1 byte or throw, if no data is available this method should block cooperatively until data is available or fc::eof is thrown.
| fc::eof | if at least 1 byte cannot be read |
Implements fc::istream.
|
inlinevirtual |
Implements fc::istream.
1.8.17