Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
GitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
encoding/gob: encoding of single values doesn't agree with documentation #16978
Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (
I found another inconsistency between implementation and documentation: It says
This generates two messages:
(AIUI messages are length-prefixed). The first is a valid encoding for the
Cross linking for reference: It appears that primitive values in Gob's are always encoded as a struct (that extra byte is the struct field separator). See also: https://groups.google.com/forum/#!topic/golang-nuts/xJH1a9w47Mk