W3cubDocs

/Haxe C#

FileStream

package cs.system.io

extends StreamMarshalByRefObject

Available on cs

Constructor

new (handle:IntPtr, access:FileAccess)

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

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

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

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

new (handle:SafeFileHandle, access:FileAccess)

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

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

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

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

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

new (path:String, mode:FileMode)

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

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

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

Variables

read only Handle:IntPtr

read only IsAsync:Bool

read only Name:String

read only SafeFileHandle:SafeFileHandle

Methods

GetAccessControl ():FileSecurity

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

SetAccessControl (fileSecurity:FileSecurity):Void

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

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