Versions in this module Expand all Collapse all v1 v1.3.3 Oct 2, 2014 v1.3.1 Aug 21, 2014 Changes in this version + const MaxVarintLen16 + const MaxVarintLen32 + const MaxVarintLen64 + var BigEndian bigEndian + var LittleEndian littleEndian + func PutUvarint(buf []byte, x uint64) int + func PutVarint(buf []byte, x int64) int + func Read(r io.Reader, order ByteOrder, data interface{}) error + func ReadUvarint(r io.ByteReader) (uint64, error) + func ReadVarint(r io.ByteReader) (int64, error) + func Size(v interface{}) int + func Uvarint(buf []byte) (uint64, int) + func Varint(buf []byte) (int64, int) + func Write(w io.Writer, order ByteOrder, data interface{}) error + type ByteOrder interface + PutUint16 func([]byte, uint16) + PutUint32 func([]byte, uint32) + PutUint64 func([]byte, uint64) + String func() string + Uint16 func([]byte) uint16 + Uint32 func([]byte) uint32 + Uint64 func([]byte) uint64