|
NexusForce 1.0.0
A rigorously engineered full-stack C++ backend library.
|
组合异步操作 更多...
#include "NeForce/core/async/async_stream.hpp"#include "NeForce/core/exception/error_code.hpp"#include "NeForce/core/functional/function.hpp"#include "NeForce/core/container/vector.hpp"函数 | |
| void | neforce::async_read (async_stream &stream, io_context &ctx, vector< char > &buffer, function< void(error_code, size_t)> handler) |
| 异步读取指定字节数 | |
| void | neforce::async_write (async_stream &stream, io_context &ctx, const void *data, size_t size, function< void(error_code, size_t)> handler) |
| 异步写入指定字节数 | |