Start proper stream support.

This commit is contained in:
jmsgrogan 2024-01-21 16:27:30 +00:00
parent 5183aa821a
commit e3e03dc31f
34 changed files with 421 additions and 402 deletions

View file

@ -1,11 +1,32 @@
#pragma once
#include "ByteTypes.h"
#include "Byte.h"
#include "Stream.h"
#include "FileSystemPath.h"
#include "File.h"
class InputFileStream : public InputStream<Byte>
{
public:
InputFileStream(const FileSystemPath& path)
: File(path)
{
}
bool good() const override
{
return
}
bool get(T& item) = 0;
private:
void finished()
{
}
File mFile;
Status mStatus;
};