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 = false
IsBigEndian is whether the current CPU's native byte order is big endian.
Variables ¶
View Source
var Endian = binary.LittleEndian
Endian is the encoding/binary.ByteOrder implementation for the current CPU's native byte order.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.