the stream that write to base64, note we take from file pointers
More...
#include <base64.h>
|
| 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...
|
|
the stream that write to base64, note we take from file pointers
◆ Base64OutStream()
xgboost::common::Base64OutStream::Base64OutStream |
( |
dmlc::Stream * |
fp | ) |
|
|
inlineexplicit |
◆ 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 |
|
) |
| |
|
inlinevirtual |
◆ Write()
virtual void xgboost::common::Base64OutStream::Write |
( |
const void * |
ptr, |
|
|
size_t |
size |
|
) |
| |
|
inlinevirtual |
The documentation for this class was generated from the following file:
- /home/runner/work/xgboost/xgboost/src/common/base64.h