Initial commit
[yaffs-website] / node_modules / node-sass / src / libsass / src / base64vlq.hpp
1 #ifndef SASS_BASE64VLQ_H
2 #define SASS_BASE64VLQ_H
3
4 #include <string>
5
6 namespace Sass {
7
8   class Base64VLQ {
9
10   public:
11
12     std::string encode(const int number) const;
13
14   private:
15
16     char base64_encode(const int number) const;
17
18     int to_vlq_signed(const int number) const;
19
20     static const char* CHARACTERS;
21
22     static const int VLQ_BASE_SHIFT;
23     static const int VLQ_BASE;
24     static const int VLQ_BASE_MASK;
25     static const int VLQ_CONTINUATION_BIT;
26   };
27
28 }
29
30 #endif