Kerbal Space Program  1.12.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Public Member Functions | Static Public Member Functions | Properties | List of all members
KSP.IO.TextReader Class Reference

Sandboxed version of TextReader class from System.IO. More...

Inheritance diagram for KSP.IO.TextReader:

Public Member Functions

void Close ()
 
void DiscardBufferedData ()
 
void Dispose ()
 
int Peek ()
 
int Read ()
 
int Read (char[] buffer, int index, int count)
 
string ReadLine ()
 
string ReadToEnd ()
 

Static Public Member Functions

static TextReader CreateForType< T > (string filename, Vessel flight=null)
 Create a text reader stream. More...
 

Properties

Stream BaseStream [get]
 
Encoding CurrentEncoding [get]
 
bool EndOfStream [get]
 

Detailed Description

Sandboxed version of TextReader class from System.IO.

Member Function Documentation

void KSP.IO.TextReader.Close ( )
inline

static TextReader KSP.IO.TextReader.CreateForType< T > ( string  filename,
Vessel  flight = null 
)
inlinestatic

Create a text reader stream.

Template Parameters
TThe plugin type for which it is being initialized
Parameters
flightOptional flight
Returns
returns a PluginConfiguration object
void KSP.IO.TextReader.DiscardBufferedData ( )
inline

void KSP.IO.TextReader.Dispose ( )
inline
int KSP.IO.TextReader.Peek ( )
inline

int KSP.IO.TextReader.Read ( )
inline

int KSP.IO.TextReader.Read ( char[]  buffer,
int  index,
int  count 
)
inline

string KSP.IO.TextReader.ReadLine ( )
inline

string KSP.IO.TextReader.ReadToEnd ( )
inline

Property Documentation

Stream KSP.IO.TextReader.BaseStream
get

Encoding KSP.IO.TextReader.CurrentEncoding
get

bool KSP.IO.TextReader.EndOfStream
get


The documentation for this class was generated from the following file: