HaxeAPI
  • Version 4.2.5
    • 3.4.7
    • 4.0.5
    • 4.1.3
    • 4.2.0
    • 4.2.1
    • 4.2.2
    • 4.2.3
    • 4.2.4
    • 4.2.5
    • Development
  • Download Haxe
  • Learn Haxe
    • Introduction
    • Manual
    • Code Cookbook
    • API Documentation
    • Videos
    • Try Haxe online
    • Haxelib
  • Connect
    • Github
    • Bug reports
    • Stack Overflow
    • Forums
    • Discord
    • Gitter
    • Blog
    • Facebook
    • #haxe
    • @haxelang
    • @haxe_org
    • Contact

class Stream

package cs.system.io

extends MarshalByRefObject

implements IDisposable

extended by FileStream, MemoryStream, NetworkStream

@:nativeGen@:abstract@:libType@:csNative@:native("System.IO.Stream")

Available on cs

Static variables

@:readOnlystaticread 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

get_CanRead():Bool

get_CanSeek():Bool

get_CanTimeout():Bool

get_CanWrite():Bool

get_Length():Int64

get_Position():Int64

get_ReadTimeout():Int

get_WriteTimeout():Int

set_Position(value:Int64):Int64

set_ReadTimeout(value:Int):Int

set_WriteTimeout(value:Int):Int

Inherited Variables

Inherited Methods

Defined by MarshalByRefObject

CreateObjRef(requestedType:Type):ObjRef

finalGetLifetimeService():Dynamic

InitializeLifetimeService():Dynamic

This documentation is generated for version 4.2.5

© 2023  Haxe Foundation | Contribute to Haxe