Versions in this module Expand all Collapse all v0 v0.0.1 Mar 6, 2019 Changes in this version + func BytesCompare(a, b []byte) (sa, sb string, ok bool) + func DecodeBitGen(s string) ([]byte, error) + func MustDecodeBitGen(s string) []byte + func MustDecodeHex(s string) []byte + func MustLoadFile(file string) []byte + func ResizeData(input []byte, n int) []byte + type BuggyReader struct + Err error + N int64 + R io.Reader + func (br *BuggyReader) Read(buf []byte) (int, error) + type BuggyWriter struct + Err error + N int64 + W io.Writer + func (bw *BuggyWriter) Write(buf []byte) (int, error) + type Rand struct + func NewRand(seed int) *Rand + func (r *Rand) Bytes(n int) []byte + func (r *Rand) Int() int + func (r *Rand) Intn(n int) int + func (r *Rand) Perm(n int) []int