VFileStream Class
Namespace: Rebex.IO
Assembly: Rebex.FileSystem.dll (version 7.0.9147)
Represents a stream for a virtual system file.
This class provides members that are functionally similar to the standard .NET File
Syntax
public class VFileStream : Stream, IAsyncDisposable, IDisposable
Inherited Members
Constructors
Name | Description |
---|---|
VFile |
Initializes a new instance of the VFile |
VFile |
Initializes a new instance of the VFile |
VFile |
Initializes a new instance of the VFile |
VFile |
Initializes a new instance of the VFile |
VFile |
Initializes a new instance of the VFile |
VFile |
Initializes a new instance of the VFile |
Properties
Name | Description |
---|---|
Can |
Gets a value indicating whether the stream is readable. |
Can |
Gets a value indicating whether the stream is seekable. |
Can |
Gets a value indicating whether the stream is writable. |
Is |
Gets a value that indicates if this stream was opened asynchronously.
This property always returns false. Rebex virtual file systems now supports only synchronous methods.
Argument 'async' in Rebex. |
Length | Gets the length of the stream. |
Name | Gets the path of the file. |
Position | Gets or sets the position within the stream. |
Methods
Name | Description |
---|---|
Dispose(Boolean) | Releases the unmanaged resources used by the Stream and optionally releases the managed resources. |
Flush() | Causes any buffered data to be written to the underlying stream. |
Read(Byte[], Int32, Int32) | Reads data from the stream. |
Seek(Int64, Seek |
Sets the position within the stream. |
Set |
Sets the length of the stream. |
Write(Byte[], Int32, Int32) | Writes data to the stream. |