Skip to main content

concat_bytes

Function concat_bytes 

Source
pub const fn concat_bytes<'a, Bytes: Const<Type = &'a [&'a [u8]]>>() -> &'static [u8]
Expand description

Concats a collection of &[u8]s into a single &'static [u8] at compile time.

ยงExample

Analogous to concat_strs.