Kapacity
Properties
Link copied to clipboard
Coerces this capacity's exact byte count into a standard 32-bit Int suitable for memory allocation.
Functions
Link copied to clipboard
Divides this capacity by a given scalar divisor. Ensures the resulting capacity is never negative.
Link copied to clipboard
Subtracts another Kapacity from this one. Ensures the resulting capacity is never negative.
Subtracts the specified number of bytes from this capacity. Ensures the resulting capacity is never negative.
Link copied to clipboard
Adds another Kapacity to this one. Ensures the resulting capacity is never negative.
Adds the specified number of bytes to this capacity. Ensures the resulting capacity is never negative.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Allocates a new primitive ByteArray with a size equal to this capacity.
Link copied to clipboard
Allocates a new primitive UByteArray with a size equal to this capacity.