Java.IO.PushbackReader.Unread Method
Pushes all the characters in buffer back to this reader.

Syntax

[Android.Runtime.Register("unread", "([C)V", "GetUnread_arrayCHandler")]
public virtual void Unread (char[] buffer)

Parameters

buffer
the buffer containing the characters to push back to this reader.

Exceptions

TypeReason
Java.IO.IOExceptionif this reader is closed or the free space in the internal pushback buffer is not sufficient to store the contents of buffer.

Remarks

Pushes all the characters in buffer back to this reader. The characters are pushed back in such a way that the next character read from this reader is buffer[0], then buffer[1] and so on.

If this reader's internal pushback buffer cannot store the entire contents of buffer, an IOException is thrown. Parts of buffer may have already been copied to the pushback buffer when the exception 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