pub trait EncodeUsedBytesTo {
// Required method
fn encode_used_bytes_to<T: MutBits + ?Sized>(
&self,
out: &mut T,
) -> Result<usize, BitsError>;
}Expand description
Writes only the used number of bytes in the integer to the output stream.
Required Methods§
fn encode_used_bytes_to<T: MutBits + ?Sized>( &self, out: &mut T, ) -> Result<usize, BitsError>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.