MCPcopy Create free account
hub / github.com/Pagghiu/SaneCppLibraries / finish

Method finish

Libraries/Http/HttpWebSocket.cpp:236–240  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

234
235 void transform(const uint8_t* input)
236 {
237 uint32_t words[80];
238 for (size_t idx = 0; idx < 16; ++idx)
239 {
240 const size_t offset = idx * 4;
241 words[idx] = (static_cast<uint32_t>(input[offset]) << 24) |
242 (static_cast<uint32_t>(input[offset + 1]) << 16) |
243 (static_cast<uint32_t>(input[offset + 2]) << 8) | static_cast<uint32_t>(input[offset + 3]);

Callers 1

computeAcceptMethod · 0.45

Calls 2

ResultClass · 0.50
ErrorEnum · 0.50

Tested by

no test coverage detected