func readUint8(r io.Reader) (uint8, error) {
    var buf [1]byte
    if _, err := io.ReadFull(r, buf[:]); err != nil {
        return 0, err
    }
    return uint8(buf[0]), nil
}
// Read uint8 from io.Reader

Read uint8 from io.Reader
// Read uint8 from io . Reader
func readUint8(r io.Reader) (uint8, error) {
    var buf [1]byte
    if _, err := io.ReadFull(r, buf[:]); err != nil {
        return 0, err
    }
    return uint8(buf[0]), nil
}
func readUint8 ( r io . Reader ) ( uint8 , error ) { var buf [ 1 ] byte if _ , err := io . ReadFull ( r , buf [ : ] ) ; err != nil { return 0 , err } return uint8 ( buf [ 0 ] ) , nil }
Read uint8 from io.Reader
Read uint8 from io . Reader