C# Class Portable.Text.ISO2022JPEncoder

Inheritance: Portable.Text.MonoEncoder
Exibir arquivo Open project: jstedfast/Portable.Text.Encoding

Public Methods

Method Description
GetByteCountImpl ( char chars, int charCount, bool refresh ) : int
GetBytesImpl ( char chars, int charCount, byte bytes, int byteCount, bool refresh ) : int
ISO2022JPEncoder ( Portable.Text.MonoEncoding owner, bool allow1ByteKana, bool allowShiftIO ) : System
Reset ( ) : void

Private Methods

Method Description
IsShifted ( byte bytes ) : bool
SetShifted ( byte bytes, bool state ) : void
SwitchMode ( byte bytes, int &byteIndex, int &byteCount, ISO2022JPMode &cur, ISO2022JPMode next ) : void

Method Details

GetByteCountImpl() public method

public GetByteCountImpl ( char chars, int charCount, bool refresh ) : int
chars char
charCount int
refresh bool
return int

GetBytesImpl() public method

public GetBytesImpl ( char chars, int charCount, byte bytes, int byteCount, bool refresh ) : int
chars char
charCount int
bytes byte
byteCount int
refresh bool
return int

ISO2022JPEncoder() public method

public ISO2022JPEncoder ( Portable.Text.MonoEncoding owner, bool allow1ByteKana, bool allowShiftIO ) : System
owner Portable.Text.MonoEncoding
allow1ByteKana bool
allowShiftIO bool
return System

Reset() public method

public Reset ( ) : void
return void