add buffer export header file.

This commit is contained in:
caozhiyi
2021-05-28 11:00:52 +08:00
parent b42bdd76b1
commit 531603502e
27 changed files with 93 additions and 62 deletions

View File

@@ -131,7 +131,7 @@ void CppNetBase::OnAccept(std::shared_ptr<RWSocket> sock) {
}
}
void CppNetBase::OnRead(std::shared_ptr<RWSocket> sock, std::shared_ptr<Buffer> buffer, uint32_t len) {
void CppNetBase::OnRead(std::shared_ptr<RWSocket> sock, std::shared_ptr<InnerBuffer> buffer, uint32_t len) {
if (_read_cb) {
_read_cb(sock, buffer, len);
}