Struct fuzzcheck::ByteSerializer[][src]

pub struct ByteSerializer { /* fields omitted */ }
Expand description

A Serializer for Vec<u8> that simply copies the bytes from/to the files.

Implementations

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");

Trait Implementations

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

Serialize the value into bytes Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.