code: func (p *PortList) PopIntSlice(num int) []int {
  	ports := make([]int, num)
  	for i := range ports {
  		ports[i] = p.PopInt()
  	}
  	return ports
  }
docs: // PopIntSlice returns a slice of values from the list, it panics if not enough
  // ports were allocated