safe

package
v0.2.6 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2026 License: Unlicense Imports: 2 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Int64ToUint32

func Int64ToUint32(val int64) (uint32, error)

Int64ToUint32 converts an int64 to a uint32 with overflow check.

func IntToInt32

func IntToInt32(val int) (int32, error)

IntToInt32 converts an int to an int32, returning an error if it would overflow.

func Uint32ToInt

func Uint32ToInt(val uint32) int

Uint32ToInt converts a uint32 to an int.

func Uint32ToInt32

func Uint32ToInt32(val uint32) (int32, error)

Uint32ToInt32 converts a uint32 to an int32, returning an error if it would overflow.

Types

This section is empty.

Jump to

Keyboard shortcuts

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