java.nio.channels.AsynchronousByteChannel Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jtransc-rt Show documentation
Show all versions of jtransc-rt Show documentation
JVM AOT compiler currently generating JavaScript, C++, Haxe, with initial focus on Kotlin and games.
package java.nio.channels;
import java.nio.ByteBuffer;
import java.util.concurrent.Future;
public interface AsynchronousByteChannel extends AsynchronousChannel {
void read(ByteBuffer dst, A attachment, CompletionHandler handler);
Future read(ByteBuffer dst);
void write(ByteBuffer src, A attachment, CompletionHandler handler);
Future write(ByteBuffer src);
}