Documentation ¶
Index ¶
- func FillConst(dest []byte, byteVal byte)
- func FillSeq(dest []byte, startValue byte)
- func MakeSeq(count int, startValue byte) []byte
- func Uint24FromBytes(src []byte) uint32
- func Uint24ToBytes(val uint32, dest []byte)
- func Uint32FromBytes(src []byte) uint32
- func Uint32ToBytes(val uint32, dest []byte)
- func Uint64FromBytes(src []byte) uint64
- func Uint64ToBytes(val uint64, dest []byte)
- type RandStream
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Uint24ToBytes ¶
func Uint32ToBytes ¶
func Uint64ToBytes ¶
Types ¶
type RandStream ¶
type RandStream struct {
// contains filtered or unexported fields
}
func NewRandStream ¶
func NewRandStream(seed byte) RandStream
func (RandStream) FillRand ¶
func (rs RandStream) FillRand(dest []byte)
func (RandStream) Rand16bit ¶
func (rs RandStream) Rand16bit() uint16
func (RandStream) Rand24bit ¶
func (rs RandStream) Rand24bit() uint32
func (RandStream) Rand32bit ¶
func (rs RandStream) Rand32bit() uint32
Click to show internal directories.
Click to hide internal directories.