mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-19 16:47:28 +01:00
std/xz: add SHA-256 checksum support
This commit is contained in:
1 parent
a440f6dd5b
commit
79af52bb24
4 files changed
+177
-13
No files matched your search
@@ -892,6 +892,11 @@ wuffs_base__make_bitvec256(uint64_t e00,
|
||||
return res;
|
||||
}
|
||||
|
||||
static inline uint64_t //
|
||||
wuffs_base__bitvec256__get(const wuffs_base__bitvec256* b, uint32_t i) {
|
||||
return b->elements_u64[i & 3];
|
||||
}
|
||||
|
||||
// --------
|
||||
|
||||
// wuffs_base__optional_u63 is like a std::optional<uint64_t>, but for C (not
|
||||
|
||||
Reference in new issue
Block a user