• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // Copyright 2021 The PDFium Authors
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4 
5 #ifndef CONSTANTS_ASCII_H_
6 #define CONSTANTS_ASCII_H_
7 
8 #include <stdint.h>
9 
10 namespace pdfium {
11 namespace ascii {
12 
13 constexpr uint8_t kNul = 0x00;
14 constexpr uint8_t kControlA = 0x01;
15 constexpr uint8_t kControlB = 0x02;
16 constexpr uint8_t kControlC = 0x03;
17 constexpr uint8_t kBackspace = 0x08;
18 constexpr uint8_t kTab = 0x09;
19 constexpr uint8_t kNewline = 0x0a;
20 constexpr uint8_t kReturn = 0x0d;
21 constexpr uint8_t kControlV = 0x16;
22 constexpr uint8_t kControlX = 0x18;
23 constexpr uint8_t kControlZ = 0x1a;
24 constexpr uint8_t kEscape = 0x1b;
25 constexpr uint8_t kSpace = 0x20;
26 
27 }  // namespace ascii
28 }  // namespace pdfium
29 
30 #endif  // CONSTANTS_ASCII_H_
31