Skip to main content

write_two_digits

Function write_two_digits 

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

Write a two digit integer to buf at offset and offset + 1.

ยงSafety

buf must be at least offset + 2 bytes long.