Class InMemoryFileEntry
The in-memory file.
Inherited Members
Namespace: FubarDev.FtpServer.FileSystem.InMemory
Assembly: FubarDev.FtpServer.FileSystem.InMemory.dll
Syntax
public class InMemoryFileEntry : InMemoryFileSystemEntry, IUnixFileEntry, IUnixFileSystemEntry, IUnixOwner
Constructors
| Improve this Doc View SourceInMemoryFileEntry(InMemoryDirectoryEntry, String, Byte[])
Initializes a new instance of the InMemoryFileEntry class.
Declaration
public InMemoryFileEntry(InMemoryDirectoryEntry parent, string name, byte[] data)
Parameters
| Type | Name | Description |
|---|---|---|
| InMemoryDirectoryEntry | parent | The parent entry. |
| String | name | The name of this entry. |
| Byte[] | data | The file data. |
Properties
| Improve this Doc View SourceData
Gets or sets the data of this file entry.
Declaration
public byte[] Data { get; set; }
Property Value
| Type | Description |
|---|---|
| Byte[] |
Size
Declaration
public long Size { get; }
Property Value
| Type | Description |
|---|---|
| Int64 |