C# Class Encog.Parse.PeekableInputStream

Inheritance: Stream
Show file Open project: encog/encog-silverlight-core Class Usage Examples

Public Methods

Method Description
Flush ( ) : void

Not supported.

Peek ( String str ) : bool

Peek ahead and see if the specified string is present.

Peek ( ) : int

Peek at the next character from the stream.

Peek ( int depth ) : int

Peek ahead the specified depth.

PeekableInputStream ( Stream stream ) : System

Construct a peekable input stream based on the specified stream.

Read ( ) : int

Read a single byte.

Read ( byte buffer, int offset, int count ) : int

Read bytes from the stream.

Seek ( long offset, SeekOrigin origin ) : long

Not supported.

SetLength ( long v ) : void

Not supported.

Skip ( long count ) : long

Skip the specified number of bytes.

Write ( byte buffer, int offset, int count ) : void

Not supported.

Private Methods

Method Description
Pop ( ) : byte

Method Details

Flush() public method

Not supported.
public Flush ( ) : void
return void

Peek() public method

Peek ahead and see if the specified string is present.
public Peek ( String str ) : bool
str String The string we are looking for.
return bool

Peek() public method

Peek at the next character from the stream.
public Peek ( ) : int
return int

Peek() public method

Peek ahead the specified depth.
public Peek ( int depth ) : int
depth int How far to peek ahead.
return int

PeekableInputStream() public method

Construct a peekable input stream based on the specified stream.
public PeekableInputStream ( Stream stream ) : System
stream Stream The underlying stream.
return System

Read() public method

Read a single byte.
public Read ( ) : int
return int

Read() public method

Read bytes from the stream.
public Read ( byte buffer, int offset, int count ) : int
buffer byte The buffer to read the bytes into.
offset int The offset to begin storing the bytes at.
count int How many bytes to read.
return int

Seek() public method

Not supported.
public Seek ( long offset, SeekOrigin origin ) : long
offset long
origin SeekOrigin
return long

SetLength() public method

Not supported.
public SetLength ( long v ) : void
v long The length.
return void

Skip() public method

Skip the specified number of bytes.
public Skip ( long count ) : long
count long The number of bytes to skip.
return long

Write() public method

Not supported.
public Write ( byte buffer, int offset, int count ) : void
buffer byte
offset int
count int
return void