// Derived from PDFium's constants/ascii.h
// Original: Copyright 2021 The PDFium Authors
// Licensed under BSD-3-Clause / Apache-2.0
// See pdfium-upstream/LICENSE for the original license.

//! ASCII control and special character byte constants.
//!
//! Corresponds to `pdfium::ascii` namespace.

/// NUL character (0x00).
pub const K_NUL: u8 = 0x00;

/// Ctrl-A (0x01).
pub const K_CONTROL_A: u8 = 0x01;

/// Ctrl-B (0x02).
pub const K_CONTROL_B: u8 = 0x02;

/// Ctrl-C (0x03).
pub const K_CONTROL_C: u8 = 0x03;

/// Backspace (0x08).
pub const K_BACKSPACE: u8 = 0x08;

/// Horizontal tab (0x09).
pub const K_TAB: u8 = 0x09;

/// Newline / linefeed (0x0A).
pub const K_NEWLINE: u8 = 0x0a;

/// Carriage return (0x0D).
pub const K_RETURN: u8 = 0x0d;

/// Ctrl-V / paste (0x16).
pub const K_CONTROL_V: u8 = 0x16;

/// Ctrl-X (0x18).
pub const K_CONTROL_X: u8 = 0x18;

/// Ctrl-Z / substitute (0x1A).
pub const K_CONTROL_Z: u8 = 0x1a;

/// Escape (0x1B).
pub const K_ESCAPE: u8 = 0x1b;

/// Space (0x20).
pub const K_SPACE: u8 = 0x20;

/// Delete / rubout (0x7F).
pub const K_DELETE: u8 = 0x7f;
