Go to the source code of this file.
Functions | |
SBuf | StringToSBuf (const String &s) |
create a new SBuf from a String by copying contents More... | |
String | SBufToString (const SBuf &s) |
Function Documentation
◆ SBufToString()
create a new String from a SBuf by copying contents
Definition at line 26 of file StringConvert.h.
References String::assign(), SBuf::length(), and SBuf::rawContent().
Referenced by Note::dump(), ProxyProtocol::Header::getElem(), Mgr::ActionParams::pack(), Mgr::QueryParams::Parse(), CacheManager::ParseHeaders(), ParseParamValue(), and CacheManager::ParseUrl().
◆ StringToSBuf()
Definition at line 17 of file StringConvert.h.
References String::rawBuf(), and String::size().
Referenced by HttpHeader::addVia(), Format::Format::assemble(), clientInterpretRequestHeaders(), DelayId::DelayClient(), ACLHTTPHeaderData::match(), Ssl::ErrorDetailFile::parse(), Http::SlowlyParseQuotedString(), Adaptation::Iterator::start(), Adaptation::Iterator::step(), and HttpRequest::storeId().