heapless_string

Macro heapless_string 

Source
macro_rules! heapless_string {
    ($s:expr) => { ... };
    ($s:expr, $n:expr) => { ... };
}
Expand description

Create a heapless string with error handling

ยงExamples

use embedded_charts::heapless_string;

// Create with explicit size  
let result = heapless_string!("Hello", 16);
assert!(result.is_ok());