W3cubDocs

/Haxe C#

Stream

package cs.system.io

extends MarshalByRefObject

implements IDisposable

extended by FileStream, MemoryStream, NetworkStream

Available on cs

Static variables

staticread onlyNull:Stream

Static methods

staticSynchronized(stream:Stream):Stream

Variables

read onlyCanRead:Bool

read onlyCanSeek:Bool

read onlyCanTimeout:Bool

read onlyCanWrite:Bool

read onlyLength:Int64

Position:Int64

ReadTimeout:Int

WriteTimeout:Int

Methods

BeginRead(buffer:NativeArray<UInt8>, offset:Int, count:Int, callback:AsyncCallback, state:Dynamic):IAsyncResult

BeginWrite(buffer:NativeArray<UInt8>, offset:Int, count:Int, callback:AsyncCallback, state:Dynamic):IAsyncResult

Close():Void

finalDispose():Void

EndRead(asyncResult:IAsyncResult):Int

EndWrite(asyncResult:IAsyncResult):Void

Flush():Void

Read(buffer:NativeArray<UInt8>, offset:Int, count:Int):Int

ReadByte():Int

Seek(offset:Int64, origin:SeekOrigin):Int64

SetLength(value:Int64):Void

Write(buffer:NativeArray<UInt8>, offset:Int, count:Int):Void

WriteByte(value:UInt8):Void

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