package
1.9.0
Repository: https://github.com/ibrt/golang-bites.git
Documentation: pkg.go.dev

# Functions

MapToSlice converts a map to slice.
MustParse is like Parse but panics on error.
Parse parses a string as base 10 int16.
Ptr returns a pointer to the value.
PtrDefToNil returns a pointer to the value, or nil if "def".
PtrZeroToNil returns a pointer to the value, or nil if 0.
SafeIndex returns "s[i]" if possible, and 0 otherwise.
SafeIndexDef returns "s[i]" if possible, and "def" otherwise.
SafeIndexPtr returns "s[i]" if possible, and nil otherwise.
SliceToMap converts a slice to map.
Val returns the pointer value, defaulting to zero if nil.
ValDef returns the pointer value, defaulting to "def" if nil.

# Constants

BitSize is the size in bits of this type.

# Type aliases

Slice is a slice of values.