reinterpret

package
v0.0.0-...-d83995b Latest Latest
Warning

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

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

Documentation

Overview

Package reinterpret provides primitives for reinterpreting arbitrary-length values as signed or unsigned.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AsSigned

func AsSigned(unsigned uint64, bits uint8) int64

AsSigned reinterprets the provided unsigned value as a signed value.

func AsUnsigned

func AsUnsigned(signed int64, bits uint8) uint64

AsUnsigned reinterprets the provided signed value as an unsigned value.

Types

This section is empty.

Jump to

Keyboard shortcuts

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