pub struct EucJpDecoder {
pending: EucJpPending,
}Fields§
§pending: EucJpPendingImplementations§
Source§impl EucJpDecoder
impl EucJpDecoder
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 EucJpDecoder
impl RefUnwindSafe for EucJpDecoder
impl Send for EucJpDecoder
impl Sync for EucJpDecoder
impl Unpin for EucJpDecoder
impl UnsafeUnpin for EucJpDecoder
impl UnwindSafe for EucJpDecoder
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