Documentation
¶
Overview ¶
Package native provides easy access to native byte order.
Usage: use native.Endian where you need the native binary.ByteOrder.
Please think twice before using this package. It can break program portability. Native byte order is usually not the right answer.
Index ¶
Constants ¶
View Source
const IsBigEndian = cpu.IsBigEndian
IsBigEndian records whether the GOARCH's byte order is big endian.
Deprecated: use golang.org/x/sys/cpu.IsBigEndian instead, now that it exists.
Variables ¶
View Source
var Endian binary.ByteOrder
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.