class java.nio.channels.FileChannel extends AbstractInterruptibleChannel implements SeekableByteChannel implements GatheringByteChannel implements ScatteringByteChannel

Available on java

Class Fields

static function open(param1:Path, param2:Set<OpenOption>, param3:NativeArray<FileAttribute<Dynamic>>):FileChannel

static function open(param1:Path, param2:NativeArray<OpenOption>):FileChannel

Instance Fields

function force(param1:Bool):Void

function lock(param1:Int64, param2:Int64, param3:Bool):FileLock

function lock():FileLock

function map(param1:FileChannel_MapMode, param2:Int64, param3:Int64):MappedByteBuffer

function position():Int64

function position(param1:Int64):FileChannel

function read(param1:ByteBuffer):Int

function read(param1:ByteBuffer, param2:Int64):Int

function read(param1:NativeArray<ByteBuffer>):Int64

function read(param1:NativeArray<ByteBuffer>, param2:Int, param3:Int):Int64

function size():Int64

function transferFrom(param1:ReadableByteChannel, param2:Int64, param3:Int64):Int64

function transferTo(param1:Int64, param2:Int64, param3:WritableByteChannel):Int64

function truncate(param1:Int64):FileChannel

function tryLock(param1:Int64, param2:Int64, param3:Bool):FileLock

function tryLock():FileLock

function write(param1:ByteBuffer):Int

function write(param1:ByteBuffer, param2:Int64):Int

function write(param1:NativeArray<ByteBuffer>):Int64

function write(param1:NativeArray<ByteBuffer>, param2:Int, param3:Int):Int64