Interface for binary file nodes that support both text and binary content.
public interface IBinaryFileNode : Atypical.VirtualFileSystem.Core.Contracts.IFileNode, Atypical.VirtualFileSystem.Core.Contracts.IVirtualFileSystemNodeDerived
↳ BinaryFileNode
Implements IFileNode, IVirtualFileSystemNode
| Properties | |
|---|---|
| BinaryContent | Gets or sets the binary content of the file. |
| IsBinary | Gets a value indicating whether this file contains binary data. |
| SizeInBytes | Gets the size of the binary content in bytes. |
| Methods | |
|---|---|
| SetBinaryContent(byte[]) | Sets the content from binary data. |
| SetContentFromBase64(string) | Sets the content from a base64 encoded string. |
| SetTextContent(string) | Sets the content from a text string and clears binary content. |
| ToBase64String() | Gets the binary content as a base64 encoded string. |