Sese Framework
x.y.z
A cross-platform framework
|
#include <IOBuf.h>
Public 成员函数 | |
IOBufNode (size_t capacity) | |
~IOBufNode () | |
节点析构 | |
size_t | getReadableSize () const noexcept |
size_t | getWriteableSize () const noexcept |
Public 属性 | |
void * | buffer {nullptr} |
缓存指针 | |
size_t | read {0} |
缓存已读大小 | |
size_t | size {0} |
缓存已填充大小 | |
const size_t | CAPACITY |
缓存容量大小 | |
IOBuf 节点
|
explicit |
sese::iocp::IOBufNode::~IOBufNode | ( | ) |
节点析构
引用了 free().
|
nodiscardnoexcept |
|
nodiscardnoexcept |
获取节点可写入大小
void* sese::iocp::IOBufNode::buffer {nullptr} |
const size_t sese::iocp::IOBufNode::CAPACITY |
缓存容量大小
被这些函数引用 sese::_windows::iocp::v1::NativeIOCPServer::postRead().
size_t sese::iocp::IOBufNode::read {0} |
缓存已读大小
被这些函数引用 sese::iocp::IOBuf::peek().
size_t sese::iocp::IOBufNode::size {0} |
缓存已填充大小
被这些函数引用 sese::iocp::IOBuf::peek().