C# Класс Encog.Parse.PeekableInputStream

Наследование: Stream
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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.

Приватные методы

Метод Описание
Pop ( ) : byte

Описание методов

Flush() публичный Метод

Not supported.
public Flush ( ) : void
Результат void

Peek() публичный Метод

Peek ahead and see if the specified string is present.
public Peek ( String str ) : bool
str String The string we are looking for.
Результат bool

Peek() публичный Метод

Peek at the next character from the stream.
public Peek ( ) : int
Результат int

Peek() публичный Метод

Peek ahead the specified depth.
public Peek ( int depth ) : int
depth int How far to peek ahead.
Результат int

PeekableInputStream() публичный Метод

Construct a peekable input stream based on the specified stream.
public PeekableInputStream ( Stream stream ) : System
stream Stream The underlying stream.
Результат System

Read() публичный Метод

Read a single byte.
public Read ( ) : int
Результат int

Read() публичный Метод

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.
Результат int

Seek() публичный Метод

Not supported.
public Seek ( long offset, SeekOrigin origin ) : long
offset long
origin SeekOrigin
Результат long

SetLength() публичный Метод

Not supported.
public SetLength ( long v ) : void
v long The length.
Результат void

Skip() публичный Метод

Skip the specified number of bytes.
public Skip ( long count ) : long
count long The number of bytes to skip.
Результат long

Write() публичный Метод

Not supported.
public Write ( byte buffer, int offset, int count ) : void
buffer byte
offset int
count int
Результат void