Documentation
¶
Overview ¶
Package intconv provides checked integer conversion helpers.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Int64ToInt32 ¶
Int64ToInt32 converts v to int32, returning an error if it overflows.
func IntToUint64 ¶
IntToUint64 converts v to uint64, returning an error if v is negative.
func Uint64ToInt ¶
Uint64ToInt converts v to int, returning an error if it overflows.
func UintptrToInt ¶
UintptrToInt converts v to int, returning an error if it overflows.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.