C# Class Nyaml.Reader

Inheritance: IDisposable
Show file Open project: yaml/Nyaml

Public Methods

Method Description
Dispose ( ) : void
Forward ( int length = 1 ) : void
Peek ( int index ) : char
Prefix ( int length = 1 ) : string
Reader ( Stream stream ) : System
Reader ( byte data ) : System
Reader ( string data ) : System

Protected Methods

Method Description
Dispose ( bool isDisposing ) : void

Private Methods

Method Description
CheckPrintable ( string data ) : void
DetermineEncoding ( ) : void
Update ( int length ) : void
UpdateRaw ( int size = 4096 ) : void

Method Details

Dispose() public method

public Dispose ( ) : void
return void

Dispose() protected method

protected Dispose ( bool isDisposing ) : void
isDisposing bool
return void

Forward() public method

public Forward ( int length = 1 ) : void
length int
return void

Peek() public method

public Peek ( int index ) : char
index int
return char

Prefix() public method

public Prefix ( int length = 1 ) : string
length int
return string

Reader() public method

public Reader ( Stream stream ) : System
stream Stream
return System

Reader() public method

public Reader ( byte data ) : System
data byte
return System

Reader() public method

public Reader ( string data ) : System
data string
return System