roundUpToAlignment

Returns n rounded up to a multiple of alignment, which must be a power of 2.

  1. size_t roundUpToAlignment(size_t n, uint alignment)
    @safe @nogc nothrow pure
    size_t
    roundUpToAlignment
    ()
    (
    size_t n
    ,)
  2. void[] roundUpToAlignment(void[] b, uint a)

Meta