C# Class 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.
Inheritance: FilterInputStream
Show file Open project: JeroMiya/androidmono

Public Methods

Method Description
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

Protected Methods

Method Description
PushbackInputStream ( global @__env )

Private Methods

Method Description
PushbackInputStream ( )

Method Details

PushbackInputStream() protected method

protected PushbackInputStream ( global @__env )
@__env global

PushbackInputStream() public method

public PushbackInputStream ( java arg0 )
arg0 java

PushbackInputStream() public method

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

available() public method

public available ( ) : int
return int

close() public method

public close ( ) : void
return void

mark() public method

public mark ( int arg0 ) : void
arg0 int
return void

markSupported() public method

public markSupported ( ) : bool
return bool

read() public method

public read ( ) : int
return int

read() public method

public read ( byte arg0, int arg1, int arg2 ) : int
arg0 byte
arg1 int
arg2 int
return int

reset() public method

public reset ( ) : void
return void

skip() public method

public skip ( long arg0 ) : long
arg0 long
return long

unread() public method

public unread ( byte arg0 ) : void
arg0 byte
return void

unread() public method

public unread ( byte arg0, int arg1, int arg2 ) : void
arg0 byte
arg1 int
arg2 int
return void

unread() public method

public unread ( int arg0 ) : void
arg0 int
return void