import "github.com/unidoc/unipdf/v3/internal/endian"
Package endian detects the platform specific byte endianness. On initialization the package checks if the system is using big or little endian byte ordering.
doc.go endianness.go
var ( // ByteOrder is the current system byte order. ByteOrder binary.ByteOrder )
func IsBig() bool
IsBig checks if the machine uses the Big Endian byte order.
func IsLittle() bool
IsLittle checks if the machine uses Little Endian byte ordering.