niagara-ax/decompiled/org/hsqldb/persist/RandomAccessInterface.java
2026-03-17 13:31:18 -07:00

38 lines
740 B
Java

package org.hsqldb.persist;
import java.io.IOException;
public interface RandomAccessInterface {
void close() throws IOException;
boolean ensureLength(long j);
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;
boolean setLength(long j);
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;
}