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

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

Go to download

JVM AOT compiler currently generating JavaScript, C++, Haxe, with initial focus on Kotlin and games.

There is a newer version: 0.6.8
Show newest version
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