Electroneum
Loading...
Searching...
No Matches
epee::StorageNamed::gziped_storage< t_base_storage > Class Template Reference

#include <gzipped_inmemstorage.h>

Inheritance diagram for epee::StorageNamed::gziped_storage< t_base_storage >:
Collaboration diagram for epee::StorageNamed::gziped_storage< t_base_storage >:

Public Member Functions

size_t PackToSolidBuffer (std::string &targetObj)
size_t LoadFromSolidBuffer (const std::string &pTargetObj)

Detailed Description

template<class t_base_storage>
class epee::StorageNamed::gziped_storage< t_base_storage >

Definition at line 38 of file gzipped_inmemstorage.h.

Member Function Documentation

◆ LoadFromSolidBuffer()

template<class t_base_storage>
size_t epee::StorageNamed::gziped_storage< t_base_storage >::LoadFromSolidBuffer ( const std::string & pTargetObj)
inline

Definition at line 53 of file gzipped_inmemstorage.h.

Here is the call graph for this function:

◆ PackToSolidBuffer()

template<class t_base_storage>
size_t epee::StorageNamed::gziped_storage< t_base_storage >::PackToSolidBuffer ( std::string & targetObj)
inline

Definition at line 41 of file gzipped_inmemstorage.h.

42 {
44 if(res <= 0)
45 return res;
46
48 return 0;
49
50 return targetObj.size();
51 }
Here is the call graph for this function:

The documentation for this class was generated from the following file:
  • /home/abuild/rpmbuild/BUILD/electroneum-5.1.3.1-build/electroneum-5.1.3.1/contrib/epee/include/storages/gzipped_inmemstorage.h