add length_prefix_array_map_8_to_8

This commit is contained in:
Michael Sippel 2025-02-20 05:16:31 +01:00
parent d6107601a6
commit b88251b9c4
Signed by: senvas
GPG key ID: F96CF119C34B64A6
3 changed files with 24 additions and 9 deletions
morphisms/include/array

View file

@ -63,3 +63,8 @@ int length_prefix_array_map_64_to_8(
struct LengthPrefixUInt64Array const * restrict src,
struct LengthPrefixUInt8Array * restrict dst
);
int length_prefix_array_map_8_to_8(
int (*f) ( uint8_t const * restrict, uint8_t * restrict ),
struct LengthPrefixUInt8Array const * restrict src,
struct LengthPrefixUInt8Array * restrict dst
);