mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-24 00:52:18 +01:00
Add (ptr base.u8).read_u32le method
This commit is contained in:
1 parent
4584022d1a
commit
e72f957eca
8 files changed
+77
-9
No files matched your search
+1
-1
@@ -2018,7 +2018,7 @@ uint32_t wuffs_crc32__ieee_hasher__update(wuffs_crc32__ieee_hasher* self,
|
||||
uint8_t* v_p = i_slice_p.ptr;
|
||||
uint8_t* i_end0_p = i_slice_p.ptr + (i_slice_p.len / 8) * 0;
|
||||
while (v_p < i_end0_p) {
|
||||
v_s ^= 1234;
|
||||
v_s ^= (wuffs_base__load_u32le(v_p + 0));
|
||||
v_p += 8;
|
||||
}
|
||||
uint8_t* i_end1_p = i_slice_p.ptr + i_slice_p.len;
|
||||
|
||||
Reference in new issue
Block a user