Trait zero_formatter::Formatter [] [src]

pub trait Formatter<T>: Seek + ReadBytesExt + WriteBytesExt {
    fn serialize(&mut self, offset: u64, value: T) -> ZeroFormatterResult<i32>;
    fn deserialize(&mut self, offset: &mut u64) -> ZeroFormatterResult<T>;
}

Formatter provide serializer and deserializer for ZeroFormatter.

Required Methods

Implementors