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

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

#include <base64.h>

Inheritance diagram for xgboost::common::Base64InStream:
Inheritance graph
Collaboration diagram for xgboost::common::Base64InStream:
Collaboration graph

Public Member Functions

 Base64InStream (dmlc::Stream *fs)
 
void InitPosition (void)
 initialize the stream position to beginning of next base64 stream call this function before actually start read More...
 
bool IsEOF (void) const
 whether current position is end of a base64 stream More...
 
virtual size_t Read (void *ptr, size_t size)
 
virtual void Write (const void *ptr, size_t size)
 

Detailed Description

the stream that reads from base64, note we take from file pointers

Constructor & Destructor Documentation

◆ Base64InStream()

xgboost::common::Base64InStream::Base64InStream ( dmlc::Stream *  fs)
inlineexplicit

Member Function Documentation

◆ InitPosition()

void xgboost::common::Base64InStream::InitPosition ( void  )
inline

initialize the stream position to beginning of next base64 stream call this function before actually start read

◆ IsEOF()

bool xgboost::common::Base64InStream::IsEOF ( void  ) const
inline

whether current position is end of a base64 stream

◆ Read()

virtual size_t xgboost::common::Base64InStream::Read ( void *  ptr,
size_t  size 
)
inlinevirtual

◆ Write()

virtual void xgboost::common::Base64InStream::Write ( const void *  ptr,
size_t  size 
)
inlinevirtual

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