xgboost

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

the stream that write to base64, note we take from file pointers More...

`#include <base64.h>`

Inheritance diagram for xgboost::common::Base64OutStream:
Collaboration diagram for xgboost::common::Base64OutStream:

## Public Member Functions
| Base64OutStream (dmlc::Stream *fp)
virtual void | Write (const void *ptr, size_t size)
virtual size_t | Read (void *ptr, size_t size)
void | Finish (char endch=EOF)
| finish writing of all current base64 stream, do some post processing More...

## Detailed Description

the stream that write to base64, note we take from file pointers

## Constructor & Destructor Documentation

## ◆ Base64OutStream()

xgboost::common::Base64OutStream::Base64OutStream | ( | dmlc::Stream * | fp | ) |
| inline explicit

## Member Function Documentation

## ◆ Finish()

void xgboost::common::Base64OutStream::Finish | ( | char | endch = `EOF` | ) |
| inline

finish writing of all current base64 stream, do some post processing

Parameters

  endch | character to put to end of stream, if it is EOF, then nothing will be done

## ◆ Read()

virtual size_t xgboost::common::Base64OutStream::Read | ( | void * | ptr,
|  | size_t | size
| ) |  |
| inline virtual

## ◆ Write()

virtual void xgboost::common::Base64OutStream::Write | ( | const void * | ptr,
|  | size_t | size
| ) |  |
| inline virtual

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

- /home/runner/work/xgboost/xgboost/src/common/base64.h