SWC-DB  v0.5.12 C++ documentations
SWC-DB© (Super Wide Column Database) - High Performance Scalable Database (https://github.com/kashirin-alex/swc-db)
Mkdirs.cc
Go to the documentation of this file.
1 /*
2  * SWC-DB© Copyright since 2019 Alex Kashirin <kashirin.alex@gmail.com>
3  * License details at <https://github.com/kashirin-alex/swc-db/#license>
4  */
5 
6 
8 
9 
10 namespace SWC { namespace Comm { namespace Protocol {
11 namespace FsBroker { namespace Params {
12 
13 
16 }
17 
18 void MkdirsReq::internal_encode(uint8_t** bufp) const {
19  Serialization::encode_bytes(bufp, dirname.c_str(), dirname.size());
20 }
21 
22 void MkdirsReq::internal_decode(const uint8_t** bufp, size_t* remainp) {
24 }
25 
26 
27 }}}}}
SWC::Serialization::encoded_length_bytes
constexpr SWC_CAN_INLINE size_t encoded_length_bytes(size_t len) noexcept
Definition: Serialization.h:537
SWC::Comm::Protocol::FsBroker::Params::MkdirsReq::internal_encoded_length
size_t SWC_PURE_FUNC internal_encoded_length() const override
Definition: Mkdirs.cc:14
SWC::Serialization::encode_bytes
SWC_CAN_INLINE void encode_bytes(uint8_t **bufp, const void *data, size_t len)
Definition: Serialization.h:542
SWC::Comm::Protocol::FsBroker::Params::MkdirsReq::internal_decode
void internal_decode(const uint8_t **bufp, size_t *remainp) override
Definition: Mkdirs.cc:22
SWC
The SWC-DB C++ namespace 'SWC'.
Definition: main.cc:12
Mkdirs.h
SWC::Comm::Protocol::FsBroker::Params::MkdirsReq::internal_encode
void internal_encode(uint8_t **bufp) const override
Definition: Mkdirs.cc:18
SWC::Comm::Protocol::FsBroker::Params::MkdirsReq::dirname
std::string dirname
Definition: Mkdirs.h:28
SWC::Serialization::decode_bytes_string
SWC_CAN_INLINE std::string decode_bytes_string(const uint8_t **bufp, size_t *remainp)
Definition: Serialization.h:558