FileStream
cs.system.MarshalByRefObject → Stream → cs.system.io.FileStream (extern class)
Instance Members
SafeFileHandle: microsoft.win32.safehandles.SafeFileHandleHandle: cs.system.IntPtrPosition: haxe.Int64Length: haxe.Int64Name: StringIsAsync: BoolCanSeek: BoolCanWrite: BoolCanRead: BoolReadByte(): 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(): VoidLock(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 |
- |