func BandwidthFromDelta(bytes protocol.ByteCount, delta time.Duration) Bandwidth {
	return Bandwidth(bytes) * Bandwidth(time.Second) / Bandwidth(delta) * BytesPerSecond
}
BandwidthFromDelta calculates the bandwidth from a number of bytes and a time delta
package congestion
import (
	"time"
	"github.com/lucas-clemente/quic-go/internal/protocol"
)
type Bandwidth uint64
const (
	BitsPerSecond Bandwidth = 1
	BytesPerSecond = 8 * BitsPerSecond
)