W3cubDocs

/Haxe C#

Stream

package cs.system.io

extends MarshalByRefObject

implements IDisposable

extended by FileStream, MemoryStream, NetworkStream

@:abstract@:libType@:csNative@:native("System.IO.Stream") 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

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

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

@:overload Close ():Void

@:final @:overload Dispose ():Void

private @:overload Dispose (disposing:Bool):Void

@:overload EndRead (asyncResult:IAsyncResult):Int

@:overload EndWrite (asyncResult:IAsyncResult):Void

@:overload Flush ():Void

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

@:overload ReadByte ():Int

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

@:overload SetLength (value:Int64):Void

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

@:overload WriteByte (value:UInt8):Void

Static variables

@:readOnly static read only Null:Stream

Static methods

@:final @:overload static Synchronized (stream:Stream):Stream

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