[−][src]Function itoap::write_to_vec
pub fn write_to_vec<V: Integer>(buf: &mut Vec<u8>, value: V)
This is supported on crate feature
alloc
only.Write integer to Vec<u8>
.
Note that this function is safe because it checks the capacity of Vec
and calls
Vec::reserve()
if the Vec
doesn't have enough capacity.