Stream

cs.system.MarshalByRefObjectcs.system.io.Stream (extern class) → FileStream, MemoryStream

Static Members

Null: Stream

Synchronized(stream: Stream): Stream
Name Type
stream Stream
Returns
Stream

Instance Members

WriteTimeout: Int

ReadTimeout: Int

Position: haxe.Int64

Length: haxe.Int64

CanTimeout: Bool

CanWrite: Bool

CanSeek: Bool

CanRead: Bool

Dispose(): Void

Close(): Void

Returns
cs.system.threading.WaitHandle

Flush(): Void

Read(buffer: cs.NativeArray<cs.types.UInt8>, offset: Int, count: Int): Int
Name Type
buffer cs.NativeArray<cs.types.UInt8>
offset Int
count Int
Returns
Int

ReadByte(): Int
Returns
Int

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

Write(buffer: cs.NativeArray<cs.types.UInt8>, offset: Int, count: Int): Void
Name Type
buffer cs.NativeArray<cs.types.UInt8>
offset Int
count Int

WriteByte(value: cs.types.UInt8): Void
Name Type
value cs.types.UInt8

BeginRead(buffer: cs.NativeArray<cs.types.UInt8>, offset: Int, count: Int, callback: cs.system.AsyncCallback, state: Dynamic): cs.system.IAsyncResult
Name Type
buffer cs.NativeArray<cs.types.UInt8>
offset Int
count Int
callback cs.system.AsyncCallback
state Dynamic
Returns
cs.system.IAsyncResult

BeginWrite(buffer: cs.NativeArray<cs.types.UInt8>, offset: Int, count: Int, callback: cs.system.AsyncCallback, state: Dynamic): cs.system.IAsyncResult
Name Type
buffer cs.NativeArray<cs.types.UInt8>
offset Int
count Int
callback cs.system.AsyncCallback
state Dynamic
Returns
cs.system.IAsyncResult

EndRead(asyncResult: cs.system.IAsyncResult): Int
Name Type
asyncResult cs.system.IAsyncResult
Returns
Int

EndWrite(asyncResult: cs.system.IAsyncResult): Void
Name Type
asyncResult cs.system.IAsyncResult

new(): Void

Metadata

Name Parameters
:nativeGen -
:abstract -
:libType -
:csNative -