MeshLib Documentation
Loading...
Searching...
No Matches
MRProgressReadWrite.h File Reference
#include "MRProgressCallback.h"
#include "MRMeshFwd.h"
#include <ostream>
#include <istream>

Go to the source code of this file.

Namespaces

namespace  MR
 

Functions

MRMESH_API bool MR::writeByBlocks (std::ostream &out, const char *data, size_t dataSize, ProgressCallback callback={}, size_t blockSize=(size_t(1)<< 16))
 write dataSize bytes from data to out stream by blocks blockSize bytes
 
MRMESH_API bool MR::readByBlocks (std::istream &in, char *data, size_t dataSize, ProgressCallback callback={}, size_t blockSize=(size_t(1)<< 16))
 read dataSize bytes from in stream to data by blocks blockSize bytes