Struct opentimestamps::ser::Serializer [] [src]

pub struct Serializer<W: Write> { /* fields omitted */ }

Standard serializer for OTS info files

Methods

impl<W: Write> Serializer<W>
[src]

Constructs a new deserializer from a reader

Extracts the underlying writer from the serializer

Writes the magic bytes

Writes the major version

Writes a single byte to the writer

Write an unsigned integer

Write a fixed number of bytes

Write a variable number of bytes