mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-30 02:31:44 +00:00
raw_istream: Add std::istream style in_avail(). (#135)
This commit is contained in:
@@ -20,6 +20,7 @@ class raw_socket_istream : public raw_istream {
|
||||
: m_stream(stream), m_timeout(timeout) {}
|
||||
|
||||
void close() override;
|
||||
std::size_t in_avail() const override;
|
||||
|
||||
private:
|
||||
void read_impl(void* data, std::size_t len) override;
|
||||
|
||||
Reference in New Issue
Block a user