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:
Inheritance graph
Collaboration diagram for xgboost::common::Base64OutStream:
Collaboration graph

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)
inlineexplicit

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
endchcharacter 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: