pub struct EndianFile { /* fields omitted */ }A helper structure that provides convenience methods to write to
a fs::File, being aware of the file's Endianness.
Writes a u8 to the file.
This method returns the same errors as Write::write_all.
Writes a u16 to the file.
This method returns the same errors as Write::write_all.
Writes a u32 to the file.
This method returns the same errors as Write::write_all.
Writes a i8 to the file.
This method returns the same errors as Write::write_all.
Writes a i16 to the file.
This method returns the same errors as Write::write_all.
Writes a i32 to the file.
This method returns the same errors as Write::write_all.
Writes a f32 to the file.
This method returns the same errors as Write::write_all.
Writes a f64 to the file.
This method returns the same errors as Write::write_all.