Documentation ¶
Index ¶
- type RandBytesSrcFromFile
- type RandSrc
- type RandSrcFromFile
- func (rs *RandSrcFromFile) GetBool() bool
- func (rs *RandSrcFromFile) GetFloat32() float32
- func (rs *RandSrcFromFile) GetFloat64() float64
- func (rs *RandSrcFromFile) GetInt() int
- func (rs *RandSrcFromFile) GetInt16() int16
- func (rs *RandSrcFromFile) GetInt32() int32
- func (rs *RandSrcFromFile) GetInt64() int64
- func (rs *RandSrcFromFile) GetInt8() int8
- func (rs *RandSrcFromFile) GetUint() uint
- func (rs *RandSrcFromFile) GetUint16() uint16
- func (rs *RandSrcFromFile) GetUint32() uint32
- func (rs *RandSrcFromFile) GetUint64() uint64
- func (rs *RandSrcFromFile) GetUint8() uint8
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RandBytesSrcFromFile ¶
type RandBytesSrcFromFile struct {
// contains filtered or unexported fields
}
func NewRandBytesSrcFromFile ¶
func NewRandBytesSrcFromFile(fname string) RandBytesSrcFromFile
func NewRandBytesSrcFromFileWithSeed ¶ added in v0.2.0
func NewRandBytesSrcFromFileWithSeed(fname string, seed []byte) RandBytesSrcFromFile
func (*RandBytesSrcFromFile) Close ¶
func (rs *RandBytesSrcFromFile) Close()
func (*RandBytesSrcFromFile) GetBytes ¶
func (rs *RandBytesSrcFromFile) GetBytes(n int) []byte
func (*RandBytesSrcFromFile) GetString ¶
func (rs *RandBytesSrcFromFile) GetString(n int) string
type RandSrcFromFile ¶
type RandSrcFromFile struct {
RandBytesSrcFromFile
}
func NewRandSrcFromFile ¶
func NewRandSrcFromFile(fname string) *RandSrcFromFile
func NewRandSrcFromFileWithSeed ¶ added in v0.2.0
func NewRandSrcFromFileWithSeed(fname string, seed []byte) *RandSrcFromFile
func (*RandSrcFromFile) GetBool ¶
func (rs *RandSrcFromFile) GetBool() bool
func (*RandSrcFromFile) GetFloat32 ¶
func (rs *RandSrcFromFile) GetFloat32() float32
func (*RandSrcFromFile) GetFloat64 ¶
func (rs *RandSrcFromFile) GetFloat64() float64
func (*RandSrcFromFile) GetInt ¶
func (rs *RandSrcFromFile) GetInt() int
func (*RandSrcFromFile) GetInt16 ¶
func (rs *RandSrcFromFile) GetInt16() int16
func (*RandSrcFromFile) GetInt32 ¶
func (rs *RandSrcFromFile) GetInt32() int32
func (*RandSrcFromFile) GetInt64 ¶
func (rs *RandSrcFromFile) GetInt64() int64
func (*RandSrcFromFile) GetInt8 ¶
func (rs *RandSrcFromFile) GetInt8() int8
func (*RandSrcFromFile) GetUint ¶
func (rs *RandSrcFromFile) GetUint() uint
func (*RandSrcFromFile) GetUint16 ¶
func (rs *RandSrcFromFile) GetUint16() uint16
func (*RandSrcFromFile) GetUint32 ¶
func (rs *RandSrcFromFile) GetUint32() uint32
func (*RandSrcFromFile) GetUint64 ¶
func (rs *RandSrcFromFile) GetUint64() uint64
func (*RandSrcFromFile) GetUint8 ¶
func (rs *RandSrcFromFile) GetUint8() uint8
Click to show internal directories.
Click to hide internal directories.