C# Class Rhino.Tools.Shell.ShellConsole.ConsoleInputStream

JLine's ConsoleReaderInputStream is no longer public, therefore we need to use our own implementation
Inheritance: Stream
Datei anzeigen Open project: hazzik/Rhino.Net

Public Methods

Method Description
ConsoleInputStream ( ShellConsole console, Encoding cs ) : System
Read ( ) : int
Read ( byte b, int off, int len ) : int

Private Methods

Method Description
EnsureInput ( ) : bool
ReadNextLine ( ) : int

Method Details

ConsoleInputStream() public method

public ConsoleInputStream ( ShellConsole console, Encoding cs ) : System
console ShellConsole
cs System.Text.Encoding
return System

Read() public method

public Read ( ) : int
return int

Read() public method

public Read ( byte b, int off, int len ) : int
b byte
off int
len int
return int