Java.IO.BufferedInputStream Class
Wraps an existing Java.IO.InputStream and buffers the input.

See Also: BufferedInputStream Members

Syntax

[Android.Runtime.Register("java/io/BufferedInputStream", DoNotGenerateAcw=true)]
public class BufferedInputStream : FilterInputStream

Remarks

Wraps an existing Java.IO.InputStream and buffers the input. Expensive interaction with the underlying input stream is minimized, since most (smaller) requests can be satisfied by accessing the buffer alone. The drawback is that some extra space is required to hold the buffer and that copying takes place when filling that buffer, but this is usually outweighed by the performance benefits.

A typical application pattern for the class looks like this:

java Example

 BufferedInputStream buf = new BufferedInputStream(new FileInputStream("file.java"));
 

See Also

[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