Available on java
@:overload@:throws("java.lang.Exception")close():Void
@:overloadisOpen():Bool
@:overload@:throws("java.io.IOException")read(param1:ByteBuffer):Int
@:overload@:throws("java.io.IOException")write(param1:ByteBuffer):Int