Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Float64Bytes ¶
Float64Bytes returns an 8-byte little-endian payload that numeric.Float64 will decode into the provided value. v is clamped to [0, 1).
func Uint64Bytes ¶
Uint64Bytes returns the little-endian encoding of u.
Types ¶
type ErrReader ¶
type ErrReader struct {
Err error
}
ErrReader always fails with the provided error.
type SeqReader ¶
type SeqReader struct {
// contains filtered or unexported fields
}
SeqReader feeds deterministic entropy to crypto consumers. It returns each configured byte in order and, once exhausted, keeps returning the final byte so callers never see EOF mid-read.
func NewSeqReader ¶
NewSeqReader builds a SeqReader from one or more byte chunks.
Click to show internal directories.
Click to hide internal directories.