# README
stablegob
Package stablegob is a fork of the Go standard library encoding/gob package at go version go1.10.1.
I've made some minor modifications that mean the binary output is deterministic. Maps are ordered by key. This will have a performance impact, beause the map keys are encoded and buffered before being sorted, then written to the output.
The binary output is 100% compatible with the standard library gob package.
# Functions
NewDecoder returns a new decoder that reads from the io.Reader.
NewEncoder returns a new encoder that will transmit on the io.Writer.
Register records a type, identified by a value for that type, under its internal type name.
RegisterName is like Register but uses the provided name rather than the type's default.
# Structs
CommonType holds elements of all types.
A Decoder manages the receipt of type and data information read from the remote side of a connection.
An Encoder manages the transmission of type and data information to the other side of a connection.
# Interfaces
GobDecoder is the interface describing data that provides its own routine for decoding transmitted values sent by a GobEncoder.
GobEncoder is the interface describing data that provides its own representation for encoding values for transmission to a GobDecoder.