mirror of
https://github.com/impact-eintr/netstack.git
synced 2025-10-06 21:32:59 +08:00
12 lines
188 B
Go
12 lines
188 B
Go
package rand
|
|
|
|
import "crypto/rand"
|
|
|
|
// Reader is the default reader.
|
|
var Reader = rand.Reader
|
|
|
|
// Read implements io.Reader.Read.
|
|
func Read(b []byte) (int, error) {
|
|
return rand.Read(b)
|
|
}
|