You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
where buf is something like char*, and 64 is the number of bytes pointed to by buf.
The text was updated successfully, but these errors were encountered:
etale-cohomology
changed the title
How can I hash raw bytes, or non-null terminated strings?
How can I add raw bytes, or non-null terminated strings?
Jan 3, 2023
Unfortunately the library only supports a std::vector<T> where T is an integral type as input.
If I would have the time to maintain libbf, I would make the interface to take a std::span<const std::byte>. That wasn't available at the time I wrote the first version.
Something like:
where
buf
is something likechar*
, and 64 is the number of bytes pointed to bybuf
.The text was updated successfully, but these errors were encountered: