System_IO::​StreamReader
UnityObjectLink
System_IO::​StreamReader

class:/TYPE/System.IO.StreamReader//, can be loaded from an assetbundle using System_IO::StreamReader::createfromassetbundle(bundlename,prefabname) /

Parent

UnityObjectLink

Variables
basestream
readonly System.IO.Stream basestream
endofstream
readonly System.Boolean endofstream
system_io::​streamreader::​null
static readonly System.IO.StreamReader system_io::streamreader::null
Functions
close
System.Void Close()
Returns

System.Void

discardbuffereddata
System.Void DiscardBufferedData()
Returns

System.Void

peek
System.Int32 Peek()
Returns

System.Int32

read
System.Int32 Read()
Returns

System.Int32

read
System.Int32 Read(
System.Char[] buffer,
System.Int32 index,
System.Int32 count
)

System.Char[] buffer-no documentation

Parameters
buffer
System.Char[]

no documentation

index
System.Int32

no documentation count -

Returns

System.Int32

readblock
System.Int32 ReadBlock(
System.Char[] buffer,
System.Int32 index,
System.Int32 count
)

System.Char[] buffer-no documentation

Parameters
buffer
System.Char[]

no documentation

index
System.Int32

no documentation count -

Returns

System.Int32

readline
System.String ReadLine()
Returns

System.String

readtoend
System.String ReadToEnd()
Returns

System.String

system_io::​streamreader::​create
static System.IO.StreamReader Create (
System.String path,
System.Boolean detectEncodingFromByteOrderMarks
)

Constructor replaces new;

Parameters
path
System.String

no description

detectEncodingFromByteOrderMarks
System.Boolean

no description

Returns

System.IO.StreamReader

system_io::​streamreader::​create
static System.IO.StreamReader Create (
System.String path
)

Constructor replaces new;

Parameters
path
System.String

no description

Returns

System.IO.StreamReader

system_io::​streamreader::​create
static System.IO.StreamReader Create (
System.IO.Stream stream,
System.Boolean detectEncodingFromByteOrderMarks
)

Constructor replaces new;

Parameters
stream
System.IO.Stream

no description

detectEncodingFromByteOrderMarks
System.Boolean

no description

Returns

System.IO.StreamReader

system_io::​streamreader::​create
static System.IO.StreamReader Create (
System.IO.Stream stream
)

Constructor replaces new;

Parameters
stream
System.IO.Stream

no description

Returns

System.IO.StreamReader

system_io::​streamreader::​fromassetbundle
static System.IO.StreamReader CreateFromAssetBundle(
string bundle,
string objectname
)

Constructor for object from a bundle

Parameters
bundle
string

bundle name

objectname
string

object name with extension

Returns

System.IO.StreamReader