MCPcopy Create free account
hub / github.com/deathkiller/jazz2-native / crc32

Function crc32

Sources/nCine/Base/Algorithms.cpp:294–297  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

292
293#if defined(WITH_ZLIB)
294 std::uint32_t crc32(Containers::ArrayView<std::uint8_t> data)
295 {
296 return ::crc32(0L, data.data(), static_cast<std::uint32_t>(data.size()));
297 }
298
299 std::uint32_t crc32(IO::Stream& stream)
300 {

Callers 2

OnPacketReceivedMethod · 0.85
MpLevelHandler.cppFile · 0.85

Calls 4

dataMethod · 0.45
sizeMethod · 0.45
IsValidMethod · 0.45
ReadMethod · 0.45

Tested by

no test coverage detected