port from perforce

This commit is contained in:
2026-04-18 22:31:51 +02:00
commit 8d0ab5b7cc
8409 changed files with 3972376 additions and 0 deletions

View File

@@ -0,0 +1,27 @@
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);
};
}