-
Vojtech Moravec authored
Until now we could only read cache file by providing cache hint and quantization type. This commit adds static method which can read any valid cache file from file.
Vojtech Moravec authoredUntil now we could only read cache file by providing cache hint and quantization type. This commit adds static method which can read any valid cache file from file.
ICacheFile.java 478 B
package azgracompress.cache;
import java.io.DataInputStream;
import java.io.DataOutputStream;
import java.io.IOException;
public interface ICacheFile {
void writeToStream(DataOutputStream outputStream) throws IOException;
void readFromStream(DataInputStream inputStream) throws IOException;
void readFromStream(DataInputStream inputStream, CacheFileHeader header) throws IOException;
CacheFileHeader getHeader();
void report(StringBuilder builder);
}