Zserio C++17 runtime library  0.5.0
Built for Zserio 2.17.0
FileUtil.h File Reference
#include <string_view>
#include "zserio/BitBuffer.h"

Go to the source code of this file.

Namespaces

 zserio
 

Functions

BitBuffer zserio::readBufferFromFile (std::string_view fileName)
 
void zserio::writeBufferToFile (const uint8_t *buffer, size_t bitSize, BitsTag, std::string_view fileName)
 
void zserio::writeBufferToFile (const uint8_t *buffer, size_t byteSize, std::string_view fileName)
 
template<typename ALLOC >
void zserio::writeBufferToFile (const BasicBitBuffer< ALLOC > &bitBuffer, std::string_view fileName)
 

Detailed Description

File utilities.

These utilities are not used by generated code and they are provided only for user convenience.

Note
Please note that file operations allocate memory as needed and are not designed to use allocators.

Definition in file FileUtil.h.