LIMA
Libre Multilingual Analyzer — C++ API
Loading...
Searching...
No Matches
readwritetools.cpp File Reference
#include "readwritetools.h"
#include <deque>
#include <QDebug>
#include <QFile>

Go to the source code of this file.

Namespaces

namespace  Lima
 NAUTITIA.
 
namespace  Lima::Common
 
namespace  Lima::Common::Misc
 

Functions

uint64_t Lima::Common::Misc::readCodedInt (std::istream &file)
 read a integer coded in variable-byte format in a file
 
void Lima::Common::Misc::writeCodedInt (std::ostream &file, const uint64_t number)
 write a integer coded in variable-byte format in a file
 
uint8_t Lima::Common::Misc::readOneByteInt (std::istream &file)
 read a integer coded on one byte in a file
 
void Lima::Common::Misc::writeOneByteInt (std::ostream &file, const uint8_t number)
 write a integer coded on one byte format in a file