Struct opentimestamps::ser::Deserializer [] [src]

pub struct Deserializer<R: Read> { /* fields omitted */ }

Standard deserializer for OTS info files

Methods

impl<R: Read> Deserializer<R>
[src]

Constructs a new deserializer from a reader

Extracts the underlying reader from the deserializer

Reads the magic bytes and checks that they are what we expect

Reads the version and checks that it is what we expect

Reads a single byte from the reader

Deserializes an unsigned integer

Deserializes a fixed number of bytes

Deserializes a variable number of bytes

Check that there is no trailing data