Contents

NSRoundDownToMultipleOfPageSize(_:)

Returns the specified number of bytes rounded down to a multiple of the page size.

Declaration

func NSRoundDownToMultipleOfPageSize(_ bytes: Int) -> Int

Return Value

In bytes, the multiple of the page size that is closest to, but not greater than, byteCount (that is, the number of bytes rounded down to a multiple of the page size).

See Also

Memory Management