endian

package
v1.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 17, 2021 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const INT_SIZE int = int(unsafe.Sizeof(0))

以下代码判断机器大小端

Variables

保存机器大小端

Functions

func IsBigEndian

func IsBigEndian() bool

func IsLittleEndian

func IsLittleEndian() bool

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL