RandomAccessFile
package java.io
implements DataOutput, DataInput, Closeable
@:libType@:javaNative@:native("java.io.RandomAccessFile")@:javaCanonical("java.io","RandomAccessFile")
Available on java
Constructor
@:overload @:throws("java.io.FileNotFoundException") new (param1:File, param2:String)
@:overload @:throws("java.io.FileNotFoundException") new (param1:String, param2:String)
Methods
@:overload @:throws("java.io.IOException") close ():Void
@:overload @:throws("java.io.IOException") @:final getFD ():FileDescriptor
@:overload @:throws("java.io.IOException") getFilePointer ():Int64
@:overload @:throws("java.io.IOException") length ():Int64
@:overload @:throws("java.io.IOException") read (param1:NativeArray<Int8>):Int
@:overload @:throws("java.io.IOException") read ():Int
@:overload @:throws("java.io.IOException") read (param1:NativeArray<Int8>, param2:Int, param3:Int):Int
@:overload @:throws("java.io.IOException") @:final readBoolean ():Bool
@:overload @:throws("java.io.IOException") @:final readByte ():Int8
@:overload @:throws("java.io.IOException") @:final readChar ():Char16
@:overload @:throws("java.io.IOException") @:final readDouble ():Float
@:overload @:throws("java.io.IOException") @:final readFloat ():Single
@:overload @:throws("java.io.IOException") @:final readFully (param1:NativeArray<Int8>, param2:Int, param3:Int):Void
@:overload @:throws("java.io.IOException") @:final readFully (param1:NativeArray<Int8>):Void
@:overload @:throws("java.io.IOException") @:final readInt ():Int
@:overload @:throws("java.io.IOException") @:final readLine ():String
@:overload @:throws("java.io.IOException") @:final readLong ():Int64
@:overload @:throws("java.io.IOException") @:final readShort ():Int16
@:overload @:throws("java.io.IOException") @:final readUTF ():String
@:overload @:throws("java.io.IOException") @:final readUnsignedByte ():Int
@:overload @:throws("java.io.IOException") @:final readUnsignedShort ():Int
@:overload @:throws("java.io.IOException") seek (param1:Int64):Void
@:overload @:throws("java.io.IOException") setLength (param1:Int64):Void
@:overload @:throws("java.io.IOException") skipBytes (param1:Int):Int
@:overload @:throws("java.io.IOException") write (param1:NativeArray<Int8>, param2:Int, param3:Int):Void
@:overload @:throws("java.io.IOException") write (param1:Int):Void
@:overload @:throws("java.io.IOException") write (param1:NativeArray<Int8>):Void
@:overload @:throws("java.io.IOException") @:final writeBoolean (param1:Bool):Void
@:overload @:throws("java.io.IOException") @:final writeByte (param1:Int):Void
@:overload @:throws("java.io.IOException") @:final writeBytes (param1:String):Void
@:overload @:throws("java.io.IOException") @:final writeChar (param1:Int):Void
@:overload @:throws("java.io.IOException") @:final writeChars (param1:String):Void
@:overload @:throws("java.io.IOException") @:final writeDouble (param1:Float):Void
@:overload @:throws("java.io.IOException") @:final writeFloat (param1:Single):Void
@:overload @:throws("java.io.IOException") @:final writeInt (param1:Int):Void
@:overload @:throws("java.io.IOException") @:final writeLong (param1:Int64):Void
@:overload @:throws("java.io.IOException") @:final writeShort (param1:Int):Void
@:overload @:throws("java.io.IOException") @:final writeUTF (param1:String):Void