C# Class Portable.Text.ISO2022JPEncoder

Inheritance: Portable.Text.MonoEncoder
Afficher le fichier Open project: jstedfast/Portable.Text.Encoding

Méthodes publiques

Méthode 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

Méthode 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 méthode

public GetByteCountImpl ( char chars, int charCount, bool refresh ) : int
chars char
charCount int
refresh bool
Résultat int

GetBytesImpl() public méthode

public GetBytesImpl ( char chars, int charCount, byte bytes, int byteCount, bool refresh ) : int
chars char
charCount int
bytes byte
byteCount int
refresh bool
Résultat int

ISO2022JPEncoder() public méthode

public ISO2022JPEncoder ( Portable.Text.MonoEncoding owner, bool allow1ByteKana, bool allowShiftIO ) : System
owner Portable.Text.MonoEncoding
allow1ByteKana bool
allowShiftIO bool
Résultat System

Reset() public méthode

public Reset ( ) : void
Résultat void