com.io7m.smfj.format.binary

## Class SMFBAlignment

- java.lang.Object
- - com.io7m.smfj.format.binary.SMFBAlignment

-     public final class SMFBAlignment
      extends Object

  Functions to calculate alignment.

- - ### Method Summary

    All Methods Static Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `static long` | `alignNext(long value, int alignment)` Align the given value to the next multiple of `alignment`.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Method Detail

    - #### alignNext

          public static long alignNext(long value,
                                       int alignment)

      Align the given value to the next multiple of `alignment`.
      Parameters:
        `value` - The current value
        `alignment` - The alignment
      Returns:
        An aligned value

Copyright © 2017 <code@io7m.com> http://io7m.com