4jcraft/Minecraft.World/ConsoleJavaLibs/InputOutputStream/Reader.h

13 lines
409 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.
};