See Also: OutputStream
public abstract class OutputStream : Object, ICloseable, IFlushable, IDisposable
A writable sink for bytes.
Most clients will use output streams that write data to the file system (FileOutputStream), the network (Socket.OutputStream/URLConnection.OutputStream), or to an in-memory byte array (ByteArrayOutputStream).
Use OutputStreamWriter to adapt a byte stream like this one into a character stream.
Most clients should wrap their output stream with BufferedOutputStream. Callers that do only bulk writes may omit buffering.
Subclassing OutputStreamSubclasses that decorate another output stream should consider subclassing FilterOutputStream, which delegates all calls to the target output stream.
All output stream subclasses should override bothOutputStream.Write(Int32) and OutputStream.Write(Byte,Int32,Int32). The three argument overload is necessary for bulk access to the data. This is much more efficient than byte-by-byte access.
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1
The members of Java.IO.OutputStream are listed below.
See Also: Object
Closes this stream.
Flushes this stream.
Equivalent to write(buffer, 0, buffer.length).
Writes a single byte to this stream.
|Write(Byte, Int32, Int32)|
Writes count bytes from the byte array buffer starting at position offset to this stream.
|WriteAsync(Byte, Int32, Int32)|