MCPcopy Create free account
hub / github.com/apache/brpc / ToHex

Function ToHex

src/brpc/progressive_attachment.cpp:73–73  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

71static char s_hex_map[] = { '0', '1', '2', '3', '4', '5', '6', '7', '8',
72 '9', 'A', 'B', 'C', 'D', 'E', 'F' };
73inline char ToHex(uint32_t size/*0-15*/) { return s_hex_map[size]; }
74
75inline void AppendChunkHead(butil::IOBuf* buf, uint32_t size) {
76 char tmp[32];

Callers 1

AppendChunkHeadFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected