FileStream

package cs.system.io

extends StreamMarshalByRefObject

Available on cs

Constructor

finalnew(handle:IntPtr, access:FileAccess)

finalnew(path:String, mode:FileMode, rights:FileSystemRights, share:FileShare, bufferSize:Int, options:FileOptions, fileSecurity:FileSecurity)

finalnew(path:String, mode:FileMode, rights:FileSystemRights, share:FileShare, bufferSize:Int, options:FileOptions)

finalnew(handle:SafeFileHandle, access:FileAccess, bufferSize:Int, isAsync:Bool)

finalnew(handle:SafeFileHandle, access:FileAccess, bufferSize:Int)

finalnew(handle:SafeFileHandle, access:FileAccess)

finalnew(path:String, mode:FileMode, access:FileAccess, share:FileShare, bufferSize:Int, options:FileOptions)

finalnew(path:String, mode:FileMode, access:FileAccess, share:FileShare, bufferSize:Int, useAsync:Bool)

finalnew(path:String, mode:FileMode, access:FileAccess, share:FileShare, bufferSize:Int)

finalnew(path:String, mode:FileMode, access:FileAccess, share:FileShare)

finalnew(path:String, mode:FileMode, access:FileAccess)

finalnew(path:String, mode:FileMode)

finalnew(handle:IntPtr, access:FileAccess, ownsHandle:Bool, bufferSize:Int, isAsync:Bool)

finalnew(handle:IntPtr, access:FileAccess, ownsHandle:Bool, bufferSize:Int)

finalnew(handle:IntPtr, access:FileAccess, ownsHandle:Bool)

Variables

read onlyHandle:IntPtr

read onlyIsAsync:Bool

read onlyName:String

read onlySafeFileHandle:SafeFileHandle

Methods

finalGetAccessControl():FileSecurity

Lock(position:Int64, length:Int64):Void

finalSetAccessControl(fileSecurity:FileSecurity):Void

Unlock(position:Int64, length:Int64):Void

© 2005–2020 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/cs/system/io/FileStream.html