Skip to main content

write_one_digit

Function write_one_digit 

Source
const unsafe fn write_one_digit(
    buf: &mut [MaybeUninit<u8>],
    offset: usize,
    value: ru8<0, 9>,
)
Available on crate feature formatting only.
Expand description

Write a single digit integer to buf at offset.

ยงSafety

buf must be at least offset bytes long.