//! common constants that get used around the crate a fair bit
use Str;
/// Newline byte
pub const LF: u8 = b'\n';
/// Carriage return byte
pub const CR: u8 = b'\r';
/// Byte Order Mark as char
const BOM_CHAR: char = '\u{FEFF}';
const BOM_LEN: usize = BOM_CHAR.len_utf8;
// bom = %xFEFF ; U+FEFF BYTE ORDER MARK
/// Byte representation of the BOM [`char`]
pub const BOM: & = &;
/// Empty instance of [`Str`], from an &'static ""
pub const EMPTY_STR: Str = from_static;
/// Empty instance of [`Str`] containing the default contents of [`Event::event`][crate::event::Event::event]
pub const MESSAGE_STR: Str = from_static;