cast

package
v1.207.7 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IntToUint

func IntToUint(value int) uint

IntToUint converts an int to a uint, handling negative values

func Ptr

func Ptr[T any](v T) *T

func UintToInt

func UintToInt(value uint) int

UintToInt converts a uint to an int, handling potential overflow

Types

This section is empty.

Jump to

Keyboard shortcuts

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