Skip to main content

string_array

Function string_array 

Source
pub fn string_array<const LENGTH: usize>() -> ArrayString<LENGTH>
Expand description

Generates an alphanumeric ASCII string that fills a fixed-capacity array.

Each sample occupies one byte, so the returned length and capacity are both LENGTH. The ArrayString stores the result without heap allocation.