Help us shape the future of Go! Take the 2026 Go Developer Survey

endian

package
v18.5.2 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2026 License: Apache-2.0, BSD-3-Clause Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	IsBigEndian     = false
	NativeEndian    = LittleEndian
	NonNativeEndian = BigEndian
)

Variables

Functions

func FromLE added in v18.4.0

func FromLE[T uint16 | uint32 | uint64](x T) T

Types

type Endianness

type Endianness flatbuf.Endianness

func (Endianness) String

func (e Endianness) String() string

Jump to

Keyboard shortcuts

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