|
co_usb
|
Base transfer type which provides Capy's ReadStream/WriteStream operations depending on the direction of the endpoint provided. More...
#include <transfer_types.hpp>
Public Member Functions | |
| basic_transfer (int iso_packets=0) | |
| consteval ep_direction | direction () const noexcept |
| constexpr endpoint_type | ep_type () const noexcept |
| auto | raw () const noexcept |
| boost::capy::io_task< size_t > | read_some (boost::capy::mutable_buffer buf) |
| Partial read from an endpoint. | |
| boost::capy::io_task< size_t > | write_some (boost::capy::const_buffer buf) |
| Partial write to an endpoint. | |
Protected Attributes | |
| unique_transfer | m_tfer |
Base transfer type which provides Capy's ReadStream/WriteStream operations depending on the direction of the endpoint provided.
|
inlineexplicit |
|
inlinenoexcept |
|
inlineconstexprnoexcept |
|
inlinenoexcept |
|
inline |
Partial read from an endpoint.
Provides a buffer to the transfer and submits it via transfer_awaitable.
|
inline |
Partial write to an endpoint.
Provides a buffer to the transfer and submits it via transfer_awaitable.
|
protected |