Java.IO.PushbackInputStream.Unread Method
Pushes the specified byte oneByte back to this stream.

Syntax

[Android.Runtime.Register("unread", "(I)V", "GetUnread_IHandler")]
public virtual void Unread (int oneByte)

Parameters

oneByte
the byte to push back to this stream.

Exceptions

TypeReason
Java.IO.IOExceptionif this stream is closed or the internal pushback buffer is full.

Remarks

Pushes the specified byte oneByte back to this stream. Only the least significant byte of the integer oneByte is pushed back. This is done in such a way that the next byte read from this stream is (byte) oneByte.

If this stream's internal pushback buffer cannot store the byte, an IOException is thrown.

[Android Documentation]

Requirements

Namespace: Java.IO
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1