format/src/main/java/com/github/sadikovi/riff/io/OutputBuffer.java
/**
   * Method to align output buffer to 8-byte word alignment. Buffer is aligned in place.
   * @param out output buffer
   * @throws IOException
   */
Method to align output buffer to 8-byte word alignment. Buffer is aligned in place.
@param out output buffer
@throws IOException
Method to align output buffer to 8 - byte word alignment . Buffer is aligned in place . @param out output buffer @throws IOException
public void align() throws IOException {
    if (size() % 8 != 0) {
      write(new byte[8 - (size() % 8)]);
    }
  }
public void align ( ) throws IOException { if ( size ( ) % 8 != 0 ) { write ( new byte [ 8 - ( size ( ) % 8 ) ] ) ; } }
Method to align output buffer to 8-byte word alignment.
Method to align output buffer to 8 - byte word alignment .