minus

operator fun minus(bytes: Long): Kapacity
operator fun minus(bytes: Int): Kapacity
operator fun minus(bytes: Double): Kapacity
operator fun minus(bytes: Float): Kapacity

Subtracts the specified number of bytes from this capacity. Ensures the resulting capacity is never negative.


operator fun minus(other: Kapacity): Kapacity

Subtracts another Kapacity from this one. Ensures the resulting capacity is never negative.