summaryrefslogtreecommitdiff
path: root/src/u.hh
blob: 101dec874e678d66f1c4d6437d9b10f316d2d934 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#ifndef U_HH
#define U_HH

namespace u {

enum class ReadError : uint8_t {
  Invalid,    // Invalid sequence
  End,        // At end (it == end)
  Incomplete, // Too few bytes
};

enum class ReadErrorReplace : uint8_t {
  End,        // At end (it == end)
  Incomplete, // Too few bytes
};

}  // namespace u

#endif  // U_HH