Loading...
Searching...
No Matches
OutputStream.hpp
#pragma once
#include <cstdint>
namespace mce::io::stream {
class OutputStream {
public:
virtual ~OutputStream() = 0;
virtual size_t write(const void* buffer, size_t size) = 0;
virtual size_t seek(size_t position) = 0;
virtual size_t tell() = 0;
virtual size_t getSize() = 0;
};
}
mce::io::stream::OutputStream
Definition OutputStream.hpp:6
mce::io::stream::OutputStream::seek
virtual size_t seek(size_t position)=0
Changes the current position the stream is at.
mce::io::stream::OutputStream::write
virtual size_t write(const void *buffer, size_t size)=0
mce::io::stream::OutputStream::tell
virtual size_t tell()=0
mce::io::stream::OutputStream::getSize
virtual size_t getSize()=0