xgboost

Public Member Functions | List of all members
xgboost::common::StreamBufferReader Class Reference

buffer reader of the stream that allows you to get More...

`#include <base64.h>`

Collaboration diagram for xgboost::common::StreamBufferReader:

## Public Member Functions
| StreamBufferReader (size_t buffer_size)
void | set_stream (dmlc::Stream *stream)
| set input stream More...
char | GetChar (void)
| allows quick read using get char More...
bool | AtEnd (void) const
| whether we are reaching the end of file More...

## Detailed Description

buffer reader of the stream that allows you to get

## Constructor & Destructor Documentation

## ◆ StreamBufferReader()

xgboost::common::StreamBufferReader::StreamBufferReader | ( | size_t | buffer_size | ) |
| inline explicit

## Member Function Documentation

## ◆ AtEnd()

bool xgboost::common::StreamBufferReader::AtEnd | ( | void |  | ) | const
| inline

whether we are reaching the end of file

## ◆ GetChar()

char xgboost::common::StreamBufferReader::GetChar | ( | void |  | ) |
| inline

allows quick read using get char

## ◆ set_stream()

void xgboost::common::StreamBufferReader::set_stream | ( | dmlc::Stream * | stream | ) |
| inline

set input stream

The documentation for this class was generated from the following file:

- /workspace/src/common/base64.h