endianess

package
v0.0.0-...-2e820b9 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2020 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package endianess contains information on how eat eggs.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type T

type T int

T holds information about endianess

const (
	// Independent means, the data is independent of the source
	// or current endianess. UTF-8 for example is by definition independant
	// of the architechtures endianess.
	Independent T = iota
	// Little means the data is interpreted as little endian.
	Little
	// Big means, the data is interpreted as big endian.
	Big
)

func FromString

func FromString(str string) (T, error)

func (T) String

func (e T) String() string

Jump to

Keyboard shortcuts

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