A streambuf implementation for a InputStream.
More...
#include <CeresEngine/Foundation/IO/Stream.hpp>
A streambuf implementation for a InputStream.
◆ InputStreamBuffer()
| CeresEngine::InputStreamBuffer::InputStreamBuffer |
( |
InputStream |
inputStream, |
|
|
size_t |
bufferLength = 1024 |
|
) |
| |
|
explicit |
Creates a new StreamBuffer.
- Parameters
-
| stream | The stream instance |
◆ ~InputStreamBuffer()
| CeresEngine::InputStreamBuffer::~InputStreamBuffer |
( |
| ) |
|
|
final |
◆ underflow()
| int CeresEngine::InputStreamBuffer::underflow |
( |
| ) |
|
|
overrideprotected |
◆ mBuffer
| char* CeresEngine::InputStreamBuffer::mBuffer = nullptr |
|
private |
The resource stream buffer.
◆ mBufferLength
| size_t CeresEngine::InputStreamBuffer::mBufferLength |
|
private |
The length of the allocated buffer.
◆ mInputStream
| InputStream CeresEngine::InputStreamBuffer::mInputStream |
|
private |
The documentation for this class was generated from the following file:
- /Users/Rogiel/Developer/CeresEngine/Engine/Sources/CeresEngine/Foundation/IO/Stream.hpp