Skip to main content

open_line

Function open_line 

Source
pub fn open_line(enc: &dyn SyncEncryptor, line: &str) -> Result<Vec<u8>>
Expand description

Open one wire line back into the plaintext JSONL record. A line that is not valid base64 is treated as a legacy plaintext JSONL record and returned as-is (with a one-time warning), so logs written before encryption still import.