MCPcopy Create free account
hub / github.com/apache/trafficserver / unpackString

Function unpackString

plugins/esi/common/DocNode.cc:46–53  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

44}
45
46inline void
47unpackString(const char *&packed_data, const char *&item, int32_t &item_len)
48{
49 item_len = *(reinterpret_cast<const int32_t *>(packed_data));
50 packed_data += sizeof(int32_t);
51 item = item_len ? packed_data : nullptr;
52 packed_data += item_len;
53}
54
55template <typename T>
56inline void

Callers 1

unpackMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected