Class
DbfEncodingBase

Represents the DbfEncodingBase class.

Definition

Namespace:Telerik.UI.Xaml.Controls.DataVisualization.Map

Assembly:Telerik.WinUI.Controls.dll

Syntax:

cs-api-definition
public abstract class DbfEncodingBase : Encoding, ICloneable

Inheritance: objectEncodingDbfEncodingBase

Derived Classes: DbfEncodingCp1250DbfEncodingCp1251DbfEncodingCp1252DbfEncodingCp1253DbfEncodingCp1254DbfEncodingCp437DbfEncodingCp737DbfEncodingCp850DbfEncodingCp852DbfEncodingCp857DbfEncodingCp861DbfEncodingCp865DbfEncodingCp866DbfEncodingMacDbfEncodingMacCEDbfEncodingMacCyrillicDbfEncodingMacGreek

Implements: ICloneable

Inherited Members Encoding.Convert(Encoding, Encoding, byte[])Encoding.Convert(Encoding, Encoding, byte[], int, int)Encoding.RegisterProvider(EncodingProvider)Encoding.GetEncoding(int)Encoding.GetEncoding(int, EncoderFallback, DecoderFallback)Encoding.GetEncoding(string)Encoding.GetEncoding(string, EncoderFallback, DecoderFallback)Encoding.GetEncodings()Encoding.GetPreamble()Encoding.Clone()Encoding.GetByteCount(char[])Encoding.GetByteCount(string)Encoding.GetByteCount(string, int, int)Encoding.GetByteCount(char*, int)Encoding.GetByteCount(ReadOnlySpan<char>)Encoding.GetBytes(char[])Encoding.GetBytes(char[], int, int)Encoding.GetBytes(string)Encoding.GetBytes(string, int, int)Encoding.GetBytes(string, int, int, byte[], int)Encoding.GetBytes(char*, int, byte*, int)Encoding.GetBytes(ReadOnlySpan<char>, Span<byte>)Encoding.TryGetBytes(ReadOnlySpan<char>, Span<byte>, out int)Encoding.GetCharCount(byte[])Encoding.GetCharCount(byte*, int)Encoding.GetCharCount(ReadOnlySpan<byte>)Encoding.GetChars(byte[])Encoding.GetChars(byte[], int, int)Encoding.GetChars(byte*, int, char*, int)Encoding.GetChars(ReadOnlySpan<byte>, Span<char>)Encoding.TryGetChars(ReadOnlySpan<byte>, Span<char>, out int)Encoding.GetString(byte*, int)Encoding.GetString(ReadOnlySpan<byte>)Encoding.IsAlwaysNormalized()Encoding.IsAlwaysNormalized(NormalizationForm)Encoding.GetDecoder()Encoding.GetEncoder()Encoding.GetString(byte[])Encoding.GetString(byte[], int, int)Encoding.Equals(object)Encoding.GetHashCode()Encoding.CreateTranscodingStream(Stream, Encoding, Encoding, bool)Encoding.DefaultEncoding.PreambleEncoding.BodyNameEncoding.EncodingNameEncoding.HeaderNameEncoding.WebNameEncoding.WindowsCodePageEncoding.IsBrowserDisplayEncoding.IsBrowserSaveEncoding.IsMailNewsDisplayEncoding.IsMailNewsSaveEncoding.IsSingleByteEncoding.EncoderFallbackEncoding.DecoderFallbackEncoding.IsReadOnlyEncoding.ASCIIEncoding.Latin1Encoding.CodePageEncoding.UnicodeEncoding.BigEndianUnicodeEncoding.UTF7Encoding.UTF8Encoding.UTF32

Constructors

DbfEncodingBase()

Declaration

cs-api-definition
protected DbfEncodingBase()

Methods

GetByteCount(char[], int, int)

Calculates the number of bytes produced by encoding a set of characters from the specified character array.

Declaration

cs-api-definition
public override int GetByteCount(char[] chars, int index, int count)

Parameters

chars

char[]

The character array containing the set of characters to encode.

index

int

The zero-based index of the first character to encode.

count

int

The number of characters to encode.

Returns

int

The number of bytes produced by encoding the specified characters.

Overrides Encoding.GetByteCount(char[], int, int)

GetBytes(char[], int, int, byte[], int)

Encodes a set of characters from the specified character array into the specified byte array.

Declaration

cs-api-definition
public override int GetBytes(char[] chars, int charIndex, int charCount, byte[] bytes, int byteIndex)

Parameters

chars

char[]

The character array containing the set of characters to encode.

charIndex

int

The zero-based index of the first character to encode.

charCount

int

The number of characters to encode.

bytes

byte[]

The byte array to contain the resulting sequence of bytes.

byteIndex

int

The zero-based index at which to start writing the resulting sequence of bytes.

Returns

int

The actual number of bytes written into bytes.

Overrides Encoding.GetBytes(char[], int, int, byte[], int)

GetCharCount(byte[], int, int)

Calculates the number of characters produced by decoding a sequence of bytes from the specified byte array.

Declaration

cs-api-definition
public override int GetCharCount(byte[] bytes, int index, int count)

Parameters

bytes

byte[]

The byte array containing the sequence of bytes to decode.

index

int

The zero-based index of the first byte to decode.

count

int

The number of bytes to decode.

Returns

int

The number of characters produced by decoding the specified sequence of bytes.

Overrides Encoding.GetCharCount(byte[], int, int)

GetChars(byte[], int, int, char[], int)

Decodes a sequence of bytes from the specified byte array into the specified character array.

Declaration

cs-api-definition
public override int GetChars(byte[] bytes, int byteIndex, int byteCount, char[] chars, int charIndex)

Parameters

bytes

byte[]

The byte array containing the sequence of bytes to decode.

byteIndex

int

The zero-based index of the first byte to decode.

byteCount

int

The number of bytes to decode.

chars

char[]

The character array to contain the resulting set of characters.

charIndex

int

The zero-based index at which to start writing the resulting set of characters.

Returns

int

The actual number of characters written into chars.

Overrides Encoding.GetChars(byte[], int, int, char[], int)

GetMaxByteCount(int)

Calculates the maximum number of bytes produced by encoding the specified number of characters.

Declaration

cs-api-definition
public override int GetMaxByteCount(int charCount)

Parameters

charCount

int

The number of characters to encode.

Returns

int

The maximum number of bytes produced by encoding the specified number of characters.

Overrides Encoding.GetMaxByteCount(int)

GetMaxCharCount(int)

Calculates the maximum number of characters produced by decoding the specified number of bytes.

Declaration

cs-api-definition
public override int GetMaxCharCount(int byteCount)

Parameters

byteCount

int

The number of bytes to decode.

Returns

int

The maximum number of characters produced by decoding the specified number of bytes.

Overrides Encoding.GetMaxCharCount(int)