getbytes

package
v0.3.2 Latest Latest
Warning

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

Go to latest
Published: Feb 13, 2024 License: NIST-PD-fallback Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FromFloat32

func FromFloat32(d float32) []byte

FromFloat32 converts a float32 to []byte using unsafe

func FromFloat64

func FromFloat64(d float64) []byte

FromFloat64 converts a float65 to []byte using unsafe

func FromInt16

func FromInt16(d int16) []byte

FromInt16 converts a int16 to []byte using unsafe

func FromInt32

func FromInt32(d int32) []byte

FromInt32 converts a int32 to []byte using unsafe

func FromInt64

func FromInt64(d int64) []byte

FromInt64 converts a int64 to []byte using unsafe

func FromInt8

func FromInt8(d int8) []byte

FromInt8 converts a uint8 to []byte using unsafe

func FromSliceFloat32

func FromSliceFloat32(d []float32) []byte

FromSliceFloat32 convert a []float32 to []byte using unsafe

func FromSliceFloat64

func FromSliceFloat64(d []float64) []byte

FromSliceFloat64 convert a []float64 to []byte using unsafe

func FromSliceInt16

func FromSliceInt16(d []int16) []byte

FromSliceInt16 convert a []int16 to []byte using unsafe

func FromSliceInt32

func FromSliceInt32(d []int32) []byte

FromSliceInt32 convert a []int32 to []byte using unsafe

func FromSliceInt64

func FromSliceInt64(d []int64) []byte

FromSliceInt64 convert a []int64 to []byte using unsafe

func FromSliceInt8

func FromSliceInt8(d []int8) []byte

FromSliceInt8 convert a []int8 to []byte using unsafe

func FromSliceUint16

func FromSliceUint16(d []uint16) []byte

FromSliceUint16 convert a []uint16 to []byte using unsafe

func FromSliceUint32

func FromSliceUint32(d []uint32) []byte

FromSliceUint32 convert a []uint32 to []byte using unsafe

func FromSliceUint64

func FromSliceUint64(d []uint64) []byte

FromSliceUint64 convert a []uint64 to []byte using unsafe

func FromSliceUint8

func FromSliceUint8(d []uint8) []byte

FromSliceUint8 convert a []uint8 to []byte using unsafe

func FromUint16

func FromUint16(d uint16) []byte

FromUint16 converts a uint16 to []byte using unsafe

func FromUint32

func FromUint32(d uint32) []byte

FromUint32 converts a uint32 to []byte using unsafe

func FromUint64

func FromUint64(d uint64) []byte

FromUint64 converts a uint64 to []byte using unsafe

func FromUint8

func FromUint8(d uint8) []byte

FromUint8 converts a uint8 to []byte using unsafe

Types

This section is empty.

Jump to

Keyboard shortcuts

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