Files
bluflame/aiwaz/Aiwaz.Contracts/IFileSystem.cs
2026-04-18 22:31:51 +02:00

28 lines
590 B
C#

namespace Aiwaz.Contracts
{
public interface IFile
{
byte[] Buffer { get; }
uint BufferLength { get; }
long BufferPosition { get; set; }
string FileName { get; }
bool Eof { get; }
string ReadString();
float ReadFloat();
int ReadInt();
byte[] ReadDataArray(uint argBytes);
void Rewind();
void SaveAs(string argFileName);
};
public interface IFileSystem
{
void InitializeFromDirectory(string argDirectory);
void InitializeFromZipFile(string argZipFile);
IFile Open(string argFileName);
};
}