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