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