<commit_before>## func ReadUvarint(r io.ByteReader) (uint64, error)

###参数列表

- r 实现ReadByte()接口的对象

###返回值：

- uint64 解析出的数据
- error 返回的错误

###功能说明：

ReadUvarint从r中解析并返回一个uint64类型的数据及出现的错误。

###代码实例：

    package main
    
    import (
      "bytes"
    	"encoding/binary"
    	"fmt"
    )
    
    func main() {
    	var sbuf []byte
    	var buf []byte = []byte{144, 192, 192, 129, 132, 136, 140, 144, 16, 0, 1, 1}
    	var bbuf []byte = []byte{144, 192, 192, 129, 132, 136, 140, 144, 192, 192, 1, 1}
    
    	num, ret := binary.ReadUvarint(bytes.NewBuffer(sbuf))
    	fmt.Println(num, ret) //0 EOF
    
    	num, ret = binary.ReadUvarint(bytes.NewBuffer(buf))
    	fmt.Println(num, ret) //1161981756374523920 <nil>
    
    	num, ret = binary.ReadUvarint(bytes.NewBuffer(bbuf))
    	fmt.Println(num, ret) //4620746270195064848 binary: varint overflows a 64-bit integer
    }
<commit_msg>Update ReadUvarint.md<commit_after>## func ReadUvarint(r io.ByteReader) (uint64, error)

###参数列表

- r 实现ReadByte()接口的对象

###返回值：

- uint64 解析出的数据
- error 返回的错误

###功能说明：

ReadUvarint从r中解析并返回一个uint64类型的数据及出现的错误。

###代码实例：

    package main
    
    import (
      "bytes"
    	"encoding/binary"
    	"fmt"
    )
    
    func main() {
    	var sbuf []byte
    	var buf []byte = []byte{144, 192, 192, 129, 132, 136, 140, 144, 16, 0, 1, 1}
    	var bbuf []byte = []byte{144, 192, 192, 129, 132, 136, 140, 144, 192, 192, 1, 1}
    
    	num, err := binary.ReadUvarint(bytes.NewBuffer(sbuf))
    	fmt.Println(num, err) //0 EOF
    
    	num, err = binary.ReadUvarint(bytes.NewBuffer(buf))
    	fmt.Println(num, err) //1161981756374523920 <nil>
    
    	num, err = binary.ReadUvarint(bytes.NewBuffer(bbuf))
    	fmt.Println(num, err) //4620746270195064848 binary: varint overflows a 64-bit integer
    }

{'fraction_non_alphanumeric': 0.1458100558659218, 'fraction_numerical': 0.12067039106145251, 'mean_word_length': 2.8516129032258064, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6862720', 'n_tokens_mistral': 955, 'n_tokens_neox': 794, 'n_words': 169}