Documentation ¶
Index ¶
- func GetRandomKeysFixedN(n int, byteSize int) [][]byte
- func GetRandomKeysRandN(maxN int, byteSize int) [][]byte
- func GetRandomLegacyValues(n int, minByteSize, maxByteSize int) [][]byte
- func GetRandomRegisterIDs(n int) []flow.RegisterID
- func GetRandomValues(n int, minByteSize, maxByteSize int) []ledger.Value
- func IsBitSet(b []byte, i int) bool
- func RandomString(n int) string
- func SetBit(b []byte, i int)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetRandomKeysFixedN ¶
GetRandomKeysFixedN generates n random fixed sized (byteSize) keys
func GetRandomKeysRandN ¶
GetRandomKeysRandN generate m random keys (size: byteSize), assuming m is also randomly selected from zero to maxN
func GetRandomLegacyValues ¶ added in v0.10.0
func GetRandomRegisterIDs ¶ added in v0.10.0
func GetRandomRegisterIDs(n int) []flow.RegisterID
func RandomString ¶ added in v0.10.0
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.