1.5: Fuckin' UE5... #38
1 changed files with 2 additions and 2 deletions
|
@ -16,10 +16,10 @@
|
||||||
|
|
||||||
#include "Crc32.h"
|
#include "Crc32.h"
|
||||||
|
|
||||||
namespace mbst { namespace Crc32 {
|
namespace mbst { namespace Utilities {
|
||||||
|
|
||||||
std::uint32_t
|
std::uint32_t
|
||||||
update(std::uint32_t initial, Containers::ArrayView<const void> data) {
|
crc32(std::uint32_t initial, Containers::ArrayView<const void> data) {
|
||||||
static const auto table = []{
|
static const auto table = []{
|
||||||
std::uint32_t polynomial = 0xEDB88320u;
|
std::uint32_t polynomial = 0xEDB88320u;
|
||||||
Containers::StaticArray<256, std::uint32_t> temp{ValueInit};
|
Containers::StaticArray<256, std::uint32_t> temp{ValueInit};
|
||||||
|
|
Loading…
Reference in a new issue