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

java.nio.channels.SeekableByteChannel Maven / Gradle / Ivy

package java.nio.channels;

import java.io.IOException;
import java.nio.ByteBuffer;

public interface SeekableByteChannel extends ByteChannel {
	int read(ByteBuffer dst) throws IOException;

	int write(ByteBuffer src) throws IOException;

	long position() throws IOException;

	SeekableByteChannel position(long newPosition) throws IOException;

	long size() throws IOException;

	SeekableByteChannel truncate(long size) throws IOException;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy