decodingutil

package
v3.1.2 Latest Latest
Warning

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

Go to latest
Published: May 19, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Int8FromByte

func Int8FromByte(v byte) int8

func Int8FromInt64

func Int8FromInt64(v int64, k reflect.Kind) (int8, error)

func Int16FromInt64

func Int16FromInt64(v int64, k reflect.Kind) (int16, error)

func Int32FromInt64

func Int32FromInt64(v int64, k reflect.Kind) (int32, error)

func Int64FromFloat64

func Int64FromFloat64(v float64, k reflect.Kind) (int64, error)

func Int64FromInt8Byte

func Int64FromInt8Byte(v byte) int64

func Int64FromInt16Bits

func Int64FromInt16Bits(v uint16) int64

func Int64FromInt32Bits

func Int64FromInt32Bits(v uint32) int64

func Int64FromInt64Bits

func Int64FromInt64Bits(v uint64) int64

func Int64FromUint64

func Int64FromUint64(v uint64, k reflect.Kind) (int64, error)

func IntFromInt64

func IntFromInt64(v int64, k reflect.Kind) (int, error)

func IntValueForKind

func IntValueForKind(v int64, k reflect.Kind) (int64, error)

func RangeError

func RangeError(value interface{}, k reflect.Kind) error

func Uint8FromUint64

func Uint8FromUint64(v uint64, k reflect.Kind) (uint8, error)

func Uint16FromUint64

func Uint16FromUint64(v uint64, k reflect.Kind) (uint16, error)

func Uint32FromUint64

func Uint32FromUint64(v uint64, k reflect.Kind) (uint32, error)

func Uint64FromInt64

func Uint64FromInt64(v int64, k reflect.Kind) (uint64, error)

func UintFromUint64

func UintFromUint64(v uint64, k reflect.Kind) (uint, error)

func UintValueForKind

func UintValueForKind(v uint64, k reflect.Kind) (uint64, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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