pub struct EncodingDecoder;Expand description
Decoder for various encoding tricks
Implementations§
Source§impl EncodingDecoder
impl EncodingDecoder
Sourcepub fn decode_base64(&self, input: &str) -> Option<String>
pub fn decode_base64(&self, input: &str) -> Option<String>
Decode base64
Sourcepub fn decode_hex(&self, input: &str) -> Option<String>
pub fn decode_hex(&self, input: &str) -> Option<String>
Decode hex
Sourcepub fn decode_rot13(&self, input: &str) -> String
pub fn decode_rot13(&self, input: &str) -> String
Decode ROT13
Sourcepub fn decode_leetspeak(&self, input: &str) -> String
pub fn decode_leetspeak(&self, input: &str) -> String
Decode leetspeak
Sourcepub fn decode_reversed(&self, input: &str) -> String
pub fn decode_reversed(&self, input: &str) -> String
Reverse text
Sourcepub fn decode_all(&self, input: &str) -> Vec<String>
pub fn decode_all(&self, input: &str) -> Vec<String>
Decode all variants and return potential matches
Trait Implementations§
Source§impl Debug for EncodingDecoder
impl Debug for EncodingDecoder
Source§impl Default for EncodingDecoder
impl Default for EncodingDecoder
Source§fn default() -> EncodingDecoder
fn default() -> EncodingDecoder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for EncodingDecoder
impl RefUnwindSafe for EncodingDecoder
impl Send for EncodingDecoder
impl Sync for EncodingDecoder
impl Unpin for EncodingDecoder
impl UnwindSafe for EncodingDecoder
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more