We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 070b82e commit f081266Copy full SHA for f081266
src/encoding/binary/binary.go
@@ -152,7 +152,8 @@ func (bigEndian) GoString() string { return "binary.BigEndian" }
152
// When reading into structs, the field data for fields with
153
// blank (_) field names is skipped; i.e., blank field names
154
// may be used for padding.
155
-// When reading into a struct, all non-blank fields must be exported.
+// When reading into a struct, all non-blank fields must be exported
156
+// or Read may panic.
157
//
158
// The error is EOF only if no bytes were read.
159
// If an EOF happens after reading some but not all the bytes,
0 commit comments