|
Symbian platform (C++)
SDK native APIs, runtime and tooling
|
Move-only owner of one TCP, TLS, or application transport. More...
#include <cpp/symbian/net/byte_stream.h>
Public Member Functions | |
| ByteStream ()=default | |
| template<typename Transport > | |
| ByteStream (std::unique_ptr< Transport > transport) | |
| ByteStream (ByteStream &&) noexcept=default | |
| ByteStream & | operator= (ByteStream &&) noexcept=default |
| ByteStream (const ByteStream &)=delete | |
| ByteStream & | operator= (const ByteStream &)=delete |
| operator bool () const | |
| absl::StatusOr< std::size_t > | Read (std::span< std::uint8_t > bytes, absl::Time deadline) |
| absl::Status | Write (std::span< const std::uint8_t > bytes, absl::Time deadline) |
| void | Close () |
Move-only owner of one TCP, TLS, or application transport.
Read returns zero only at clean EOF. Write completes the whole span or fails. Operations and destruction run on the owning worker.
|
default |
|
inline |
|
defaultnoexcept |
|
delete |
|
inline |
|
inlineexplicit |
|
defaultnoexcept |
|
delete |
|
inline |
|
inline |