Documentation ¶
Index ¶
Constants ¶
View Source
const INT_SIZE int = int(unsafe.Sizeof(0))
以下代码判断机器大小端
Variables ¶
View Source
var Endian binary.ByteOrder
保存机器大小端
Functions ¶
func IsBigEndian ¶
func IsBigEndian() bool
func IsLittleEndian ¶
func IsLittleEndian() bool
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.