| java.lang.Object | ||||
| ↳ | java.io.OutputStream | |||
| ↳ | java.io.FileOutputStream | |||
| ↳ | android.os.ParcelFileDescriptor.AutoCloseOutputStream | |||
| ↳ | android.content.res.AssetFileDescriptor.AutoCloseOutputStream | |||
An OutputStream you can create on a ParcelFileDescriptor, which will
take care of calling
ParcelFileDescritor.close()
for you when the stream is closed.
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
|
||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
Writes
count
bytes from the byte array
buffer
starting at
position
offset
to this stream.
|
||||||||||
|
|
Equivalent to
write(buffer, 0, buffer.length)
.
|
||||||||||
|
|
Writes a single byte to this stream.
|
||||||||||
|
[Expand]
Inherited Methods
|
|||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
android.os.ParcelFileDescriptor.AutoCloseOutputStream
|
|||||||||||
From class
java.io.FileOutputStream
|
|||||||||||
From class
java.io.OutputStream
|
|||||||||||
From class
java.lang.Object
|
|||||||||||
From interface
java.io.Closeable
|
|||||||||||
From interface
java.io.Flushable
|
|||||||||||
From interface
java.lang.AutoCloseable
|
|||||||||||
| IOException |
|---|
Writes
count
bytes from the byte array
buffer
starting at
position
offset
to this stream.
| buffer | the buffer to be written. |
|---|---|
| offset |
the start position in
buffer
from where to get bytes.
|
| count |
the number of bytes from
buffer
to write to this
stream.
|
| IOException |
|---|
Equivalent to
write(buffer, 0, buffer.length)
.
| IOException |
|---|
Writes a single byte to this stream. Only the least significant byte of
the integer
oneByte
is written to the stream.
| oneByte | the byte to be written. |
|---|
| IOException |
|---|