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