Source File
byte.go
Belonging Package
go.pact.im/x/extraio
package extraio
// ByteReader is an io.Reader that reads the same byte indefinitely.
type ByteReader byte
// Read implements the io.Reader interface. It fills p with the b byte and
// returns len(p).
func ( ByteReader) ( []byte) ( int, error) {
for := range {
[] = byte()
}
return len(), nil
}
The pages are generated with Golds v0.4.9. (GOOS=linux GOARCH=amd64)