Buffer reader from stream to avoid virtual call overhead on each read.
More...
#include <base64.h>
Buffer reader from stream to avoid virtual call overhead on each read.
◆ StreamBufferReader()
| tvm::support::StreamBufferReader::StreamBufferReader |
( |
size_t |
buffer_size | ) |
|
|
inlineexplicit |
◆ AtEnd()
| bool tvm::support::StreamBufferReader::AtEnd |
( |
| ) |
const |
|
inline |
- Returns
- whether we are reaching the end of file
◆ GetChar()
| int tvm::support::StreamBufferReader::GetChar |
( |
| ) |
|
|
inline |
- Returns
- allows quick read using get char
◆ set_stream()
set input stream
- Parameters
-
| stream | The stream to be set |
The documentation for this class was generated from the following file: