endianness

package
v0.1.1-0...-42241d0 Latest Latest
Warning

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

Go to latest
Published: Jan 22, 2021 License: MPL-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package endianness provides functions for translating the endianness of binary data.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FromMiddleEndian

func FromMiddleEndian(data []byte) (b []byte, err error)

FromMiddleEndian converts a middle-endian byte slice representation of a UUID to a big-endian byte slice representation of a UUID.

nolint: dupl

func ToMiddleEndian

func ToMiddleEndian(data []byte) (b []byte, err error)

ToMiddleEndian converts a byte slice representation of a UUID to a middle-endian byte slice representation of a UUID.

nolint: dupl

Types

This section is empty.

Jump to

Keyboard shortcuts

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