miscellaneous

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2019 License: GPL-3.0 Imports: 6 Imported by: 7

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BytesToStrings

func BytesToStrings(xs [][]byte) []string

func Contain

func Contain(xs, ys []typeclass.Ord) bool

xs是否包含ys, xs和ys均为排序后的数组

func D16func

func D16func(a []byte) (uint16, error)

func D32func

func D32func(a []byte) (uint32, error)

func D64func

func D64func(a []byte) (uint64, error)

func D8func

func D8func(a []byte) (uint8, error)

func DB16func

func DB16func(a []byte) (uint16, error)

func DB32func

func DB32func(a []byte) (uint32, error)

func DB64func

func DB64func(a []byte) (uint64, error)

func Decode

func Decode(data []byte, v interface{}) error

func Dslice

func Dslice(data []byte) ([]byte, []byte, error)

func Dup

func Dup(a []byte) []byte

func E16func

func E16func(a uint16) []byte

func E32func

func E32func(a uint32) []byte

func E64func

func E64func(a uint64) []byte

func E8func

func E8func(a uint8) []byte

func EB16func

func EB16func(a uint16) []byte

func EB32func

func EB32func(a uint32) []byte

func EB64func

func EB64func(a uint64) []byte

func Encode

func Encode(v interface{}) ([]byte, error)

func Eslice

func Eslice(a []byte) []byte

slice length || slice

func Max

func Max(x, y int) int

func Min

func Min(x, y int) int

func MostFrequent

func MostFrequent(xs []typeclass.Ord) (int, []typeclass.Ord)

func StringsAdd

func StringsAdd(xs []string, x string) []string

func StringsDel

func StringsDel(xs []string, x string) []string

Types

This section is empty.

Jump to

Keyboard shortcuts

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