All Downloads are FREE. Search and download functionalities are using the official Maven repository.

ucar.nc2.iosp.hdf5.H5headerIF Maven / Gradle / Ivy

The newest version!
package ucar.nc2.iosp.hdf5;

import java.io.IOException;
import ucar.unidata.io.RandomAccessFile;

/**
 * Temporary workaround to share code between H5header and internal/iosp/H5headerNew.
 * Should go away in version 6.
 */
public interface H5headerIF {

  RandomAccessFile getRandomAccessFile();

  long getFileOffset(long address);

  long readOffset() throws IOException;

  long readLength() throws IOException;

  long readVariableSizeUnsigned(int i) throws IOException;

  byte getSizeOffsets();

  long readAddress() throws IOException;

  byte getSizeLengths();

  int getNumBytesFromMax(long l);

  int makeIntFromBytes(byte[] heapId, int i, int n);

  boolean isOffsetLong();
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy