Microsoft SDK for Java

Clone

This method of the IStream Interface creates a new stream object with its own seek pointer that references the same bytes as the original stream.

Syntax

public IStream Clone();

Return Value

Returns the new stream object.

Remarks

Because both the original object and its clone access the same data, changes written to one object are immediately visible in the other.

© 1999 Microsoft Corporation. All rights reserved. Terms of use.