AbstractAbstractcanAbstractcanWhether the stream supports writing.
AbstractcanWhether the stream supports seeking.
AbstractlengthThe length of the stream, in bytes.
AbstractpositionThe current position within the stream.
Set the current position within the stream.
Protected StaticvalidateValidate buffer, offset, and count arguments for stream read/write operations.
The buffer supplied by the caller.
The starting offset in the buffer.
The number of bytes to read or write.
AbstractreadRead up to count bytes into buffer at offset; returns bytes read
(0 only at end of stream).
AbstractwriteWrite count bytes from buffer starting at offset.
AbstractseekSet the position within the stream.
The offset relative to origin.
The reference point used to obtain the new position.
The new position within the stream.
AbstractflushFlush any buffered data.
AbstractsetSet the length of the stream.
The desired length in bytes.
Copy data from this stream to another stream.
The stream that will receive the copied data.
The temporary buffer size to use while copying.
Release resources. Base implementation does nothing.
Protectedthrow
Whether the stream supports reading.