C# Class Portable.Text.ByteEncoding

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

Protected Properties

Свойство Type Description
bodyName string
encodingName string
headerName string
isBrowserDisplay bool
isBrowserSave bool
isMailNewsDisplay bool
isMailNewsSave bool
toChars char[]
webName string
windowsCodePage int

Méthodes publiques

Méthode Description
GetByteCount ( String s ) : int
GetByteCountImpl ( char chars, int charCount ) : int
GetBytesImpl ( char chars, int charCount, byte bytes, int byteCount ) : int
GetCharCount ( byte bytes, int index, int count ) : int
GetChars ( byte bytes, int byteIndex, int byteCount, char chars, int charIndex ) : int
GetMaxByteCount ( int charCount ) : int
GetMaxCharCount ( int byteCount ) : int
GetString ( byte bytes ) : String
GetString ( byte bytes, int index, int count ) : string
IsAlwaysNormalized ( NormalizationForm form ) : bool

Méthodes protégées

Méthode Description
ByteEncoding ( int codePage, char toChars, string encodingName, string bodyName, string headerName, string webName, bool isBrowserDisplay, bool isBrowserSave, bool isMailNewsDisplay, bool isMailNewsSave, int windowsCodePage ) : System
ToBytes ( char chars, int charCount, byte bytes, int byteCount ) : void
ToBytes ( char chars, int charIndex, int charCount, byte bytes, int byteIndex ) : void

Method Details

ByteEncoding() protected méthode

protected ByteEncoding ( int codePage, char toChars, string encodingName, string bodyName, string headerName, string webName, bool isBrowserDisplay, bool isBrowserSave, bool isMailNewsDisplay, bool isMailNewsSave, int windowsCodePage ) : System
codePage int
toChars char
encodingName string
bodyName string
headerName string
webName string
isBrowserDisplay bool
isBrowserSave bool
isMailNewsDisplay bool
isMailNewsSave bool
windowsCodePage int
Résultat System

GetByteCount() public méthode

public GetByteCount ( String s ) : int
s String
Résultat int

GetByteCountImpl() public méthode

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

GetBytesImpl() public méthode

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

GetCharCount() public méthode

public GetCharCount ( byte bytes, int index, int count ) : int
bytes byte
index int
count int
Résultat int

GetChars() public méthode

public GetChars ( byte bytes, int byteIndex, int byteCount, char chars, int charIndex ) : int
bytes byte
byteIndex int
byteCount int
chars char
charIndex int
Résultat int

GetMaxByteCount() public méthode

public GetMaxByteCount ( int charCount ) : int
charCount int
Résultat int

GetMaxCharCount() public méthode

public GetMaxCharCount ( int byteCount ) : int
byteCount int
Résultat int

GetString() public méthode

public GetString ( byte bytes ) : String
bytes byte
Résultat String

GetString() public méthode

public GetString ( byte bytes, int index, int count ) : string
bytes byte
index int
count int
Résultat string

IsAlwaysNormalized() public méthode

public IsAlwaysNormalized ( NormalizationForm form ) : bool
form NormalizationForm
Résultat bool

ToBytes() protected abstract méthode

protected abstract ToBytes ( char chars, int charCount, byte bytes, int byteCount ) : void
chars char
charCount int
bytes byte
byteCount int
Résultat void

ToBytes() protected méthode

protected ToBytes ( char chars, int charIndex, int charCount, byte bytes, int byteIndex ) : void
chars char
charIndex int
charCount int
bytes byte
byteIndex int
Résultat void

Property Details

bodyName protected_oe property

protected string bodyName
Résultat string

encodingName protected_oe property

protected string encodingName
Résultat string

headerName protected_oe property

protected string headerName
Résultat string

isBrowserDisplay protected_oe property

protected bool isBrowserDisplay
Résultat bool

isBrowserSave protected_oe property

protected bool isBrowserSave
Résultat bool

isMailNewsDisplay protected_oe property

protected bool isMailNewsDisplay
Résultat bool

isMailNewsSave protected_oe property

protected bool isMailNewsSave
Résultat bool

toChars protected_oe property

protected char[] toChars
Résultat char[]

webName protected_oe property

protected string webName
Résultat string

windowsCodePage protected_oe property

protected int windowsCodePage
Résultat int