Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var BigEndian = binary.BigEndian
View Source
var LittleEndian = binary.LittleEndian
Functions ¶
func Read ¶
Read reads structured binary data from i into data. Data must be a pointer to a fixed-size value. Not exported struct field is ignored.
Supports StructTag. `bit:"skip"` : ignore the field. Skip X bits which is the size of the field. It is useful for reserved field. `bit:"-"` : ignore the field. Offset is not changed.
Types ¶
Click to show internal directories.
Click to hide internal directories.