internal

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EncodeHex

func EncodeHex(buf []byte, bytesUUID []byte)

func SetRandomSource

func SetRandomSource(reader io.Reader)

SetRandomSource is NOT thread-safe

func UnsafeConvertToString

func UnsafeConvertToString(src []byte) string

Types

type RandomReader

type RandomReader struct {
	// contains filtered or unexported fields
}

func GetRandomReader

func GetRandomReader() *RandomReader

func (*RandomReader) ReadFull

func (r *RandomReader) ReadFull(dst []byte) error

func (*RandomReader) Release

func (r *RandomReader) Release()

Directories

Path Synopsis
Package bufio implements buffered I/O. It wraps an io.Reader or io.Writer object, creating another object (Reader or Writer) that also implements the interface but provides buffering and some help for textual I/O.
Package bufio implements buffered I/O. It wraps an io.Reader or io.Writer object, creating another object (Reader or Writer) that also implements the interface but provides buffering and some help for textual I/O.

Jump to

Keyboard shortcuts

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