Struct encoding_rs::euc_kr::EucKrDecoder
source · pub struct EucKrDecoder {
lead: Option<u8>,
}
Fields§
§lead: Option<u8>
Implementations§
source§impl EucKrDecoder
impl EucKrDecoder
pub fn new() -> VariantDecoder
pub fn in_neutral_state(&self) -> bool
fn plus_one_if_lead(&self, byte_length: usize) -> Option<usize>
pub fn max_utf16_buffer_length(&self, byte_length: usize) -> Option<usize>
pub fn max_utf8_buffer_length_without_replacement( &self, byte_length: usize, ) -> Option<usize>
pub fn max_utf8_buffer_length(&self, byte_length: usize) -> Option<usize>
pub fn decode_to_utf8_raw( &mut self, src: &[u8], dst: &mut [u8], last: bool, ) -> (DecoderResult, usize, usize)
pub fn decode_to_utf16_raw( &mut self, src: &[u8], dst: &mut [u16], last: bool, ) -> (DecoderResult, usize, usize)
Auto Trait Implementations§
impl Freeze for EucKrDecoder
impl RefUnwindSafe for EucKrDecoder
impl Send for EucKrDecoder
impl Sync for EucKrDecoder
impl Unpin for EucKrDecoder
impl UnwindSafe for EucKrDecoder
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