pub unsafe fn encode_into(x: Input<'_>, out: *mut u8) -> usize
Encodes directly into a buffer. Returns number of bytes written. Buffer should have at least size bytes.
size
Undefined Behaviour when the buffer’s length is less than size(bytes).
(bytes)