C# Class Encog.Parse.PeekableInputStream

Inheritance: Stream
Afficher le fichier Open project: encog/encog-silverlight-core Class Usage Examples

Méthodes publiques

Méthode 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

Méthode Description
Pop ( ) : byte

Method Details

Flush() public méthode

Not supported.
public Flush ( ) : void
Résultat void

Peek() public méthode

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

Peek() public méthode

Peek at the next character from the stream.
public Peek ( ) : int
Résultat int

Peek() public méthode

Peek ahead the specified depth.
public Peek ( int depth ) : int
depth int How far to peek ahead.
Résultat int

PeekableInputStream() public méthode

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

Read() public méthode

Read a single byte.
public Read ( ) : int
Résultat int

Read() public méthode

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.
Résultat int

Seek() public méthode

Not supported.
public Seek ( long offset, SeekOrigin origin ) : long
offset long
origin SeekOrigin
Résultat long

SetLength() public méthode

Not supported.
public SetLength ( long v ) : void
v long The length.
Résultat void

Skip() public méthode

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

Write() public méthode

Not supported.
public Write ( byte buffer, int offset, int count ) : void
buffer byte
offset int
count int
Résultat void