C# Класс java.io.PushbackInputStream

A PushbackInputStream adds functionality to another input stream, namely the ability to "push back" or "unread" one byte.
A PushbackInputStream adds functionality to another input stream, namely the ability to "push back" or "unread" one byte. This is useful in situations where it is convenient for a fragment of code to read an indefinite number of data bytes that are delimited by a particular byte value; after reading the terminating byte, the code fragment can "unread" it, so that the next read operation on the input stream will reread the byte that was pushed back. For example, bytes representing the characters constituting an identifier might be terminated by a byte representing an operator character; a method whose job is to read just an identifier can read until it sees the operator and then push the operator back to be re-read.
Наследование: FilterInputStream
Показать файл Открыть проект

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

Метод Описание
PushbackInputStream ( java arg0 )
PushbackInputStream ( java arg0, int arg1 )
available ( ) : int
close ( ) : void
mark ( int arg0 ) : void
markSupported ( ) : bool
read ( ) : int
read ( byte arg0, int arg1, int arg2 ) : int
reset ( ) : void
skip ( long arg0 ) : long
unread ( byte arg0 ) : void
unread ( byte arg0, int arg1, int arg2 ) : void
unread ( int arg0 ) : void

Защищенные методы

Метод Описание
PushbackInputStream ( global @__env )

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

Метод Описание
PushbackInputStream ( )

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

PushbackInputStream() защищенный Метод

protected PushbackInputStream ( global @__env )
@__env global

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

public PushbackInputStream ( java arg0 )
arg0 java

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

public PushbackInputStream ( java arg0, int arg1 )
arg0 java
arg1 int

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

public available ( ) : int
Результат int

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

public close ( ) : void
Результат void

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

public mark ( int arg0 ) : void
arg0 int
Результат void

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

public markSupported ( ) : bool
Результат bool

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

public read ( ) : int
Результат int

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

public read ( byte arg0, int arg1, int arg2 ) : int
arg0 byte
arg1 int
arg2 int
Результат int

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

public reset ( ) : void
Результат void

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

public skip ( long arg0 ) : long
arg0 long
Результат long

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

public unread ( byte arg0 ) : void
arg0 byte
Результат void

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

public unread ( byte arg0, int arg1, int arg2 ) : void
arg0 byte
arg1 int
arg2 int
Результат void

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

public unread ( int arg0 ) : void
arg0 int
Результат void