StreamWriterControlpublic interface StreamWriterControl implements ControlThis interface is implemented by a Multiplexer or DataSink to
enable controlling the number of bytes generated as output. For instance,
if a QuickTime Multiplexer is generating a QuickTime file that's being
written to disk, the application can use this control to restrict the size
of the output file. |
Methods Summary |
---|
public long | getStreamSize()Returns the number of bytes written to the stream so far. If
unknown, it returns -1.
| public boolean | setStreamSizeLimit(long numOfBytes)Sets a limit on the number of bytes that a stream writer can
generate. This value can be
ignored or treated as an approximate limit by the object
generating the stream.
|
|