cpuarch

package
v0.1.5 Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	NOT_FILLED    = (iota - 1) // Not filled
	LITTLE_ENDIAN              // Little Endian
	BIG_ENDIAN                 // Big Endian
)

Endianness enum: NOT_FILLED = -1 LITTLE_ENDIAN = 0 BIG_ENDIAN = 1

Variables

View Source
var ENDIANESSES = map[int]string{
	NOT_FILLED:    "Not Filled",
	LITTLE_ENDIAN: "Little Endian",
	BIG_ENDIAN:    "Big Endian",
}

ENDIANESSES is a map of endianness

Functions

func GetEndianess

func GetEndianess() int

GetEndianess returns the endianness of the CPU safety

Types

This section is empty.

Jump to

Keyboard shortcuts

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