summaryrefslogtreecommitdiff
path: root/src/u.hh
blob: 583b67b750867774947319818e931b88e9e6847d (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 {
  Invalid,    // Invalid sequence
  End,        // At end (it == end)
  Incomplete, // Too few bytes
};

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

}  // namespace u

#endif  // U_HH