2026-03-17 13:31:18 -07:00

34 lines
655 B
Java

package org.hsqldb.lib;
import java.io.IOException;
public interface Storage {
void close() throws IOException;
long getFilePointer() throws IOException;
boolean isReadOnly();
long length() throws IOException;
int read() throws IOException;
void read(byte[] bArr, int i, int i2) throws IOException;
int readInt() throws IOException;
long readLong() throws IOException;
void seek(long j) throws IOException;
void synch();
boolean wasNio();
void write(byte[] bArr, int i, int i2) throws IOException;
void writeInt(int i) throws IOException;
void writeLong(long j) throws IOException;
}