using DiscUtils.Streams;
namespace DiscUtils.Vfs
{
///
/// Interface implemented by classes representing files, in file systems that support multi-stream files.
///
public interface IVfsFileWithStreams : IVfsFile
{
///
/// Creates a new stream.
///
/// The name of the stream.
/// An object representing the stream.
SparseStream CreateStream(string name);
///
/// Opens an existing stream.
///
/// The name of the stream.
/// An object representing the stream.
/// The implementation must not implicitly create the stream if it doesn't already
/// exist.
SparseStream OpenExistingStream(string name);
}
}