MCPcopy Create free account
hub / github.com/LemonOSProject/LemonOS / string>

Method string>

LibLemon/src/ipc/message.cpp:14–16  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

12
13 template<>
14 void Message::Insert<std::string>(uint16_t& pos, const std::string& obj){
15 Message::Insert(pos, MessageRawDataObject((uint8_t*)obj.data(), obj.length()));
16 }
17
18 template<>
19 uint16_t Message::GetSize<MessageRawDataObject>(const MessageRawDataObject& obj) const {

Callers

nothing calls this directly

Calls 2

dataMethod · 0.80
lengthMethod · 0.80

Tested by

no test coverage detected