genutil

package
v1.38.1 Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EnsureUInt32

func EnsureUInt32(value int) (uint32, error)

EnsureUInt32 ensures that the specified value can be represented as a uint32.

func EnsureUInt8

func EnsureUInt8(value int) (uint8, error)

EnsureUInt8 ensures that the specified value can be represented as a uint8.

func MustEnsureUInt32

func MustEnsureUInt32(value int) uint32

MustEnsureUInt32 is a helper function that calls EnsureUInt32 and panics on error.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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