go/token: document deserialization property
FileSet deserialization (Read) uses its own instance of a gob decoder. If the FileSet data may be followed by other data on the reader, Read may consume too much data that is lost unless the reader implements ReadByte. Also: Minor internal refactoring for symmetry. R=r CC=golang-dev https://golang.org/cl/5233041
Showing
Please register or sign in to comment