W3cubDocs

/Haxe C#

Stream

package cs.system.io

extends MarshalByRefObject

implements IDisposable

extended by FileStream, MemoryStream, NetworkStream

Available on cs

Variables

read only CanRead:Bool

read only CanSeek:Bool

read only CanTimeout:Bool

read only CanWrite:Bool

read only Length: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

Dispose ():Void

private Dispose (disposing:Bool):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

Static variables

static read only Null:Stream

Static methods

static Synchronized (stream:Stream):Stream

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