public static <T extends JCGLBufferWritableType> JCGLBufferUpdateType<T>
  newUpdateReplacingAll(final T buffer)
  {
    NullCheck.notNull(buffer, "Buffer");
    return newUpdateReplacingRange(buffer, buffer.byteRange());
  }
public static < T extends JCGLBufferWritableType > JCGLBufferUpdateType < T > newUpdateReplacingAll ( final T buffer ) { NullCheck . notNull ( buffer , "Buffer" ) ; return newUpdateReplacingRange ( buffer , buffer . byteRange ( ) ) ; }
Construct an update that will replace all of the data in {@code buffer}.

@param buffer The buffer
@param <T>    The precise type of buffer

@return An update