DevBits
Home
Atlas
Play
About
Sign up
Log in
All
Go
binary.Varint()
Examples using...
binary.Varint()
Recent
Examples
Varint in Go
by GoDoc
Go
binary.Varint
fmt.Println
encoding/binary
fmt
Varint decodes an int64 from buf and returns that value and the number of bytes read (> 0). If an error occurred, the value is 0 and the number of bytes n is <= 0 with the following meaning: