byteslice

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jan 21, 2024 License: MIT, Unlicense Imports: 2 Imported by: 0

Documentation

Overview

Package byteslice provides byte slice views of other Go values such as slices and structs.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Slice

func Slice(s interface{}) []byte

Slice returns a byte slice view of a slice.

func Struct

func Struct(s interface{}) []byte

Struct returns a byte slice view of a struct.

func Uint32

func Uint32(s []uint32) []byte

Uint32 returns a byte slice view of a uint32 slice.

Types

This section is empty.

Jump to

Keyboard shortcuts

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