pub struct StringCodecMaps { /* private fields */ }
Expand description
Savage string parser
Implementations§
Source§impl StringCodecMaps
impl StringCodecMaps
pub fn new() -> StringCodecMaps
Trait Implementations§
Source§impl Clone for StringCodecMaps
impl Clone for StringCodecMaps
Source§fn clone(&self) -> StringCodecMaps
fn clone(&self) -> StringCodecMaps
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for StringCodecMaps
impl Debug for StringCodecMaps
Source§impl Default for StringCodecMaps
impl Default for StringCodecMaps
Source§fn default() -> StringCodecMaps
fn default() -> StringCodecMaps
Returns the “default value” for a type. Read more
Source§impl SavageStringCodecs for StringCodecMaps
impl SavageStringCodecs for StringCodecMaps
fn decode_bytes_by_format_name(&self, bytes: &[u8], format_name: &str) -> String
fn decode_bytes_by_code_page(&self, bytes: &[u8], code_page: u32) -> String
fn encode_strings_by_format_name( &self, source: &str, format_name: &str, ) -> Vec<u8> ⓘ
fn encode_strings_by_code_page( &self, source: &str, system_code_page: u32, ) -> Vec<u8> ⓘ
fn decode_bytes(&self, bytes: &[u8]) -> String
fn decode(&self, bytes: &[u8]) -> String
fn decode_flags(&self, bytes: &[u8; 4]) -> String
fn savage_decode(&self, bytes: &[u8]) -> String
fn encode(&self, source: &str) -> Vec<u8> ⓘ
Auto Trait Implementations§
impl Freeze for StringCodecMaps
impl !RefUnwindSafe for StringCodecMaps
impl Send for StringCodecMaps
impl Sync for StringCodecMaps
impl Unpin for StringCodecMaps
impl !UnwindSafe for StringCodecMaps
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