code: func BytesToUintBigEndian(b []byte) (res uint64) {
  	for i := 0; i < len(b); i++ {
  		res *= 256
  		res += uint64(b[i])
  	}
  	return res
  }
docs: // BytesToUintBigEndian converts the slice to 64-bit unsigned integer.