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