Function dactyl::write_u8[][src]

pub unsafe fn write_u8(buf: *mut u8, num: u8)

Write u8.

This will quickly write a u8 number as a UTF-8 byte slice to the provided pointer.

Safety

The pointer must have enough space for the value, i.e. 1-3 digits, or undefined things will happen.