func EncInt64(i int64) (b []byte) {
	b = make([]byte, 8)
	binary.LittleEndian.PutUint64(b, uint64(i))
	return
}
EncInt64 encodes an int64 as a slice of 8 bytes.
package encoding
import (
	"encoding/binary"
	"io"
)