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

Method add

Libraries/Http/HttpWebSocket.cpp:230–234  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

228 ~HttpWebSocketSha1() {}
229
230 SC::Result add(SC::Span<const uint8_t> data)
231 {
232 CC_SHA1_Update(&context, data.data(), static_cast<CC_LONG>(data.sizeInBytes()));
233 return SC::Result(true);
234 }
235
236 SC::Result finish(uint8_t digest[20])
237 {

Callers 1

computeAcceptMethod · 0.45

Calls 4

ResultClass · 0.50
ErrorEnum · 0.50
dataMethod · 0.45
sizeInBytesMethod · 0.45

Tested by

no test coverage detected