mirror of
https://git.minecraftlegacy.com/backups/LCEMP.git
synced 2026-11-24 21:00:17 +00:00
11 lines
338 B
C++
11 lines
338 B
C++
#pragma once
|
|
|
|
class Reader
|
|
{
|
|
public:
|
|
virtual ~Reader() {}
|
|
|
|
virtual void close() = 0; //Closes the stream and releases any system resources associated with it.
|
|
virtual int read() = 0; //Reads a single character.
|
|
virtual int read(wchar_t cbuf[], unsigned int off, unsigned int len) = 0; //Reads characters into a portion of an array.
|
|
}; |