pub fn force_bytes(text: &str) -> Vec<u8> ⓘ
Convert string to bytes
use reinhardt_utils::utils_core::encoding::force_bytes; let text = "Hello, World!"; assert_eq!(force_bytes(text), b"Hello, World!");