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

Function LoadUint16

src/brpc/policy/http2_rpc_protocol.cpp:88–92  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

86 return v;
87}
88inline uint16_t LoadUint16(butil::IOBufBytesIterator& it) {
89 uint16_t v = *it; ++it;
90 v = ((v << 8) | *it); ++it;
91 return v;
92}
93inline uint32_t LoadUint32(butil::IOBufBytesIterator& it) {
94 uint32_t v = *it; ++it;
95 v = ((v << 8) | *it); ++it;

Callers 1

ParseH2SettingsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected