// Summary: // Creates a new stream object with its own seek pointer that references the // same bytes as the original stream. // // Parameters: // ppstm: // When this method returns, contains the new stream object. This parameter // is passed uninitialized. public void Clone(out IStream ppstm) { ppstm = new ReadOnlyIStreamWrapper(this._stream); }
// 总结: // 创建一个新的流对象,该流对象有其自己的查找指针,该指针引用了相同的字节作为 // 原始流. // // 参数: // ppstm: // 当该方法发返回时,装有新的流对象.该参数被传递时没有初始化. public void Clone(out IStream ppstm) { ppstm = new ReadOnlyIStreamWrapper(this._stream); }