FileStream
cs.system.MarshalByRefObject → Stream → cs.system.io.FileStream (extern class)
Instance Members
SafeFileHandle: microsoft.win32.safehandles.SafeFileHandle
Handle: cs.system.IntPtr
Position: haxe.Int64
Length: haxe.Int64
Name: String
IsAsync: Bool
CanSeek: Bool
CanWrite: Bool
CanRead: Bool
ReadByte(): Int
Returns |
---|
Int |
WriteByte(value: cs.types.UInt8): Void
Name | Type |
---|---|
value |
cs.types.UInt8 |
Read(array: cs.NativeArray<cs.types.UInt8>, offset: Int, count: Int): Int
Name | Type |
---|---|
array |
cs.NativeArray<cs.types.UInt8> |
offset |
Int |
count |
Int |
Returns |
---|
Int |
BeginRead(array: cs.NativeArray<cs.types.UInt8>, offset: Int, numBytes: Int, userCallback: cs.system.AsyncCallback, stateObject: Dynamic): cs.system.IAsyncResult
Name | Type |
---|---|
array |
cs.NativeArray<cs.types.UInt8> |
offset |
Int |
numBytes |
Int |
userCallback |
cs.system.AsyncCallback |
stateObject |
Dynamic |
Returns |
---|
cs.system.IAsyncResult |
EndRead(asyncResult: cs.system.IAsyncResult): Int
Name | Type |
---|---|
asyncResult |
cs.system.IAsyncResult |
Returns |
---|
Int |
Write(array: cs.NativeArray<cs.types.UInt8>, offset: Int, count: Int): Void
Name | Type |
---|---|
array |
cs.NativeArray<cs.types.UInt8> |
offset |
Int |
count |
Int |
BeginWrite(array: cs.NativeArray<cs.types.UInt8>, offset: Int, numBytes: Int, userCallback: cs.system.AsyncCallback, stateObject: Dynamic): cs.system.IAsyncResult
Name | Type |
---|---|
array |
cs.NativeArray<cs.types.UInt8> |
offset |
Int |
numBytes |
Int |
userCallback |
cs.system.AsyncCallback |
stateObject |
Dynamic |
Returns |
---|
cs.system.IAsyncResult |
EndWrite(asyncResult: cs.system.IAsyncResult): Void
Name | Type |
---|---|
asyncResult |
cs.system.IAsyncResult |
Seek(offset: haxe.Int64, origin: Anonymous): haxe.Int64
Name | Type |
---|---|
offset |
haxe.Int64 |
origin |
Anonymous |
Returns |
---|
haxe.Int64 |
SetLength(value: haxe.Int64): Void
Name | Type |
---|---|
value |
haxe.Int64 |
Flush(): Void
Lock(position: haxe.Int64, length: haxe.Int64): Void
Name | Type |
---|---|
position |
haxe.Int64 |
length |
haxe.Int64 |
Unlock(position: haxe.Int64, length: haxe.Int64): Void
Name | Type |
---|---|
position |
haxe.Int64 |
length |
haxe.Int64 |
Name | Type |
---|---|
disposing |
Bool |
GetAccessControl(): cs.system.security.accesscontrol.FileSecurity
Returns |
---|
cs.system.security.accesscontrol.FileSecurity |
SetAccessControl(fileSecurity: cs.system.security.accesscontrol.FileSecurity): Void
Name | Type |
---|---|
fileSecurity |
cs.system.security.accesscontrol.FileSecurity |
new(handle: cs.system.IntPtr, access: Anonymous): Void
Name | Type |
---|---|
handle |
cs.system.IntPtr |
access |
Anonymous |
Metadata
Name | Parameters |
---|---|
:nativeGen |
- |
:libType |
- |
:csNative |
- |