Companion

object Companion

Functions

Link copied to clipboard
fun alignOffset(offset: Long, alignmentBytes: Int): Long

Aligns the given offset to multiples of alignmentBytes bytes by rounding up. The alignment must be a power of 2.