W3cubDocs

/Haxe C#

StreamReader

package cs.system.io

extends TextReaderMarshalByRefObject

extended by StreamReader_NullStreamReader

@:libType@:csNative@:native("System.IO.StreamReader") Available on cs

Constructor

@:final @:overload new (stream:Stream)

@:final @:overload new (path:String, encoding:Encoding, detectEncodingFromByteOrderMarks:Bool, bufferSize:Int)

@:final @:overload new (path:String, encoding:Encoding, detectEncodingFromByteOrderMarks:Bool)

@:final @:overload new (path:String, encoding:Encoding)

@:final @:overload new (path:String, detectEncodingFromByteOrderMarks:Bool)

@:final @:overload new (path:String)

@:final @:overload new (stream:Stream, encoding:Encoding, detectEncodingFromByteOrderMarks:Bool, bufferSize:Int)

@:final @:overload new (stream:Stream, encoding:Encoding, detectEncodingFromByteOrderMarks:Bool)

@:final @:overload new (stream:Stream, encoding:Encoding)

@:final @:overload new (stream:Stream, detectEncodingFromByteOrderMarks:Bool)

Variables

read only BaseStream:Stream

read only CurrentEncoding:Encoding

read only EndOfStream:Bool

Methods

@:final @:overload DiscardBufferedData ():Void

Static variables

@:readOnly static read only Null:StreamReader

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