[−][src]Function itoap::write_to_ptr
pub unsafe fn write_to_ptr<V: Integer>(buf: *mut u8, value: V) -> usize
Write integer to the buffer pointer directly.
This is fast operation, but does not check any safety.
Safety
Behaviour is undefined if any of the following conditions are violated:
buf
must point to sufficient valid bytes of memory to writevalue
buf
must be aligned withcore::mem::align_of::<u8>()
bytes