智能照明系统APP-本地串口
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
LightingSystemApp-serial/.svn/pristine/fc/fc12234ab87be257952e359645c...

30 lines
477 B

#ifndef SASS_BASE64VLQ_H
#define SASS_BASE64VLQ_H
#include <string>
namespace Sass {
class Base64VLQ {
public:
std::string encode(const int number) const;
private:
char base64_encode(const int number) const;
int to_vlq_signed(const int number) const;
static const char* CHARACTERS;
static const int VLQ_BASE_SHIFT;
static const int VLQ_BASE;
static const int VLQ_BASE_MASK;
static const int VLQ_CONTINUATION_BIT;
};
}
#endif