nextAlignedTo

fun Int.nextAlignedTo(align: Int): Int

Returns the next value of this that is multiple of align. If this is already multiple, returns itself.


Returns the next value of this that is multiple of align. If this is already multiple, returns itself.


Returns the next value of this that is multiple of align. If this is already multiple, returns itself.


Returns the next value of this that is multiple of align. If this is already multiple, returns itself.