plus

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

Adds the specified number of bytes to this capacity. Ensures the resulting capacity is never negative.


operator fun plus(other: Kapacity): Kapacity

Adds another Kapacity to this one. Ensures the resulting capacity is never negative.