code: public static void pad( ByteBuffer buffer, int boundary) {
  		buffer.position( round( buffer.position(), boundary));
  	}
docs: Pads the given buffer up to the indicated boundary.
  The RPM file format requires that headers be aligned
  with various boundaries, this method pads output
  to match the requirements.
  
  @param buffer the buffer to pad zeros into
  @param boundary the boundary to which we need to pad