W3cubDocs

/Haxe Java

ByteChannel

package java.nio.channels

extends WritableByteChannelChannelCloseableAutoCloseable

extended by SeekableByteChannel

implemented by DatagramChannel, SocketChannel

@:abstract@:libType@:javaNative@:native("java.nio.channels.ByteChannel")@:javaCanonical("java.nio.channels","ByteChannel") Available on java

Methods

@:overload @:throws("java.lang.Exception") close ():Void

@:overload isOpen ():Bool

@:overload @:throws("java.io.IOException") read (param1:ByteBuffer):Int

@:overload @:throws("java.io.IOException") write (param1:ByteBuffer):Int

© 2005–2018 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/java/nio/channels/ByteChannel.html