alexa
menu

MAUI

  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Search Results for

    Show / Hide Table of Contents

    Class LatinEncoding

    This class emulates latin1 encoding based on Unicode encoding.

    Inheritance
    object
    Encoding
    LatinEncoding
    Implements
    ICloneable
    Inherited Members
    Encoding.ASCII
    Encoding.BigEndianUnicode
    Encoding.BodyName
    Encoding.Clone()
    Encoding.CodePage
    Encoding.Convert(Encoding, Encoding, byte[])
    Encoding.Convert(Encoding, Encoding, byte[], int, int)
    Encoding.DecoderFallback
    Encoding.Default
    Encoding.EncoderFallback
    Encoding.EncodingName
    Encoding.Equals(object)
    Encoding.GetByteCount(char*, int)
    Encoding.GetByteCount(char[])
    Encoding.GetByteCount(string)
    Encoding.GetByteCount(string, int, int)
    Encoding.GetBytes(char*, int, byte*, int)
    Encoding.GetBytes(char[])
    Encoding.GetBytes(char[], int, int)
    Encoding.GetBytes(string)
    Encoding.GetBytes(string, int, int)
    Encoding.GetBytes(string, int, int, byte[], int)
    Encoding.GetCharCount(byte*, int)
    Encoding.GetCharCount(byte[])
    Encoding.GetChars(byte*, int, char*, int)
    Encoding.GetChars(byte[])
    Encoding.GetChars(byte[], int, int)
    Encoding.GetDecoder()
    Encoding.GetEncoder()
    Encoding.GetEncoding(int)
    Encoding.GetEncoding(int, EncoderFallback, DecoderFallback)
    Encoding.GetEncoding(string)
    Encoding.GetEncoding(string, EncoderFallback, DecoderFallback)
    Encoding.GetEncodings()
    Encoding.GetHashCode()
    Encoding.GetPreamble()
    Encoding.GetString(byte*, int)
    Encoding.GetString(byte[])
    Encoding.GetString(byte[], int, int)
    Encoding.HeaderName
    Encoding.IsAlwaysNormalized()
    Encoding.IsAlwaysNormalized(NormalizationForm)
    Encoding.IsBrowserDisplay
    Encoding.IsBrowserSave
    Encoding.IsMailNewsDisplay
    Encoding.IsMailNewsSave
    Encoding.IsReadOnly
    Encoding.IsSingleByte
    Encoding.RegisterProvider(EncodingProvider)
    Encoding.Unicode
    Encoding.UTF32
    Encoding.UTF7
    Encoding.UTF8
    Encoding.WebName
    Encoding.WindowsCodePage
    object.Equals(object, object)
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Syncfusion.XlsIO.Implementation
    Assembly: Syncfusion.XlsIO.NET.dll
    Syntax
    public class LatinEncoding : Encoding, ICloneable

    Constructors

    LatinEncoding()

    Declaration
    public LatinEncoding()

    Methods

    GetByteCount(char[], int, int)

    Calculates the number of bytes produced by encoding a set of characters.

    Declaration
    public override int GetByteCount(char[] chars, int index, int count)
    Parameters
    Type Name Description
    char[] chars

    The character array containing the set of characters to encode.

    int index

    The index of the first character to encode.

    int count

    The number of characters to encode.

    Returns
    Type Description
    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
    public override int GetBytes(char[] chars, int charIndex, int charCount, byte[] bytes, int byteIndex)
    Parameters
    Type Name Description
    char[] chars

    The character array containing the set of characters to encode.

    int charIndex

    The index of the first character to encode.

    int charCount

    The number of characters to encode.

    byte[] bytes

    The byte array to contain the resulting sequence of bytes.

    int byteIndex

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

    Returns
    Type Description
    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
    public override int GetCharCount(byte[] bytes, int index, int count)
    Parameters
    Type Name Description
    byte[] bytes

    The byte array containing the sequence of bytes to decode.

    int index

    The index of the first byte to decode.

    int count

    The number of bytes to decode.

    Returns
    Type Description
    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
    public override int GetChars(byte[] bytes, int byteIndex, int byteCount, char[] chars, int charIndex)
    Parameters
    Type Name Description
    byte[] bytes

    The byte array containing the sequence of bytes to decode.

    int byteIndex

    The index of the first byte to decode.

    int byteCount

    The number of bytes to decode.

    char[] chars

    The character array to contain the resulting set of characters.

    int charIndex

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

    Returns
    Type Description
    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
    public override int GetMaxByteCount(int charCount)
    Parameters
    Type Name Description
    int charCount

    The number of characters to encode.

    Returns
    Type Description
    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
    public override int GetMaxCharCount(int byteCount)
    Parameters
    Type Name Description
    int byteCount

    The number of bytes to decode.

    Returns
    Type Description
    int

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

    Overrides
    Encoding.GetMaxCharCount(int)

    Implements

    ICloneable
    In this article
    Back to top Generated by DocFX
    Copyright © 2001 - 2026 Syncfusion Inc. All Rights Reserved