func MaxDuration(a, b time.Duration) time.Duration {
	if a > b {
		return a
	}
	return b
}
MaxDuration returns the max duration
package utils
import (
	"math"
	"time"
	"github.com/lucas-clemente/quic-go/internal/protocol"
)
const InfDuration = time.Duration(math.MaxInt64)
func Max(a, b int) int {
	if a < b {
		return b
	}
	return a
}
func MaxUint32(a, b uint32) uint32 {
	if a < b {
		return b
	}
	return a
}
func MaxUint64(a, b uint64) uint64 {
	if a < b {
		return b
	}
	return a
}
func MinUint64(a, b uint64) uint64 {
	if a < b {
		return a
	}
	return b
}
func Min(a, b int) int {
	if a < b {
		return a
	}
	return b
}
func MinUint32(a, b uint32) uint32 {
	if a < b {
		return a
	}
	return b
}
func MinInt64(a, b int64) int64 {
	if a < b {
		return a
	}
	return b
}
func MaxInt64(a, b int64) int64 {
	if a > b {
		return a
	}
	return b
}
func MinByteCount(a, b protocol.ByteCount) protocol.ByteCount {
	if a < b {
		return a
	}
	return b
}
func MaxByteCount(a, b protocol.ByteCount) protocol.ByteCount {
	if a < b {
		return b
	}
	return a
}