Support the Go standard BinaryMarshaler and BinaryUnmarshaler interfaces.
It might be reasonable to delete the Encoding interface from this module
at some point in preference to them.