pub struct ByteSerializer { /* fields omitted */ }
Expand description
A Serializer for Vec<u8>
that simply copies the bytes from/to the files.
Create a byte serializer. The only argument is the name of the extension
that the created files should have. For example:
use fuzzcheck::ByteSerializer;
let ser = ByteSerializer::new("png");
The type of the valeu to be serialized
The extension of the file containing the serialized value
Deserialize the bytes into the value. Read more
impl<T> Any for T where
T: 'static + ?Sized,
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
impl<T, U> Into<U> for T where
U: From<T>,
The type returned in the event of a conversion error.
The type returned in the event of a conversion error.