native

package module
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2022 License: MIT Imports: 1 Imported by: 21

README

Package native provides easy access to native byte order.

go get github.com/josharian/native

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.

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

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.

Jump to

Keyboard shortcuts

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