using System; using System.Runtime.InteropServices; using Cpp2IlInjected; namespace System.Text { /// Represents an ASCII character encoding of Unicode characters. // Token: 0x020001C3 RID: 451 [Token(Token = "0x20001C3")] [ComVisible(true)] [Serializable] public class ASCIIEncoding : Encoding { /// Initializes a new instance of the class. // Token: 0x06001105 RID: 4357 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6001105")] [Address(RVA = "0xD21D90", Offset = "0xD20D90", VA = "0x180D21D90")] public ASCIIEncoding() { } // Token: 0x06001106 RID: 4358 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6001106")] [Address(RVA = "0xD21D60", Offset = "0xD20D60", VA = "0x180D21D60", Slot = "5")] internal override void SetDefaultFallbacks() { } /// Calculates the number of bytes produced by encoding a set of characters from the specified character array. /// The character array containing the set of characters to encode. /// The index of the first character to encode. /// The number of characters to encode. /// The number of bytes produced by encoding the specified characters. /// /// is . /// /// or is less than zero. /// -or- /// and do not denote a valid range in . /// -or- /// The resulting number of bytes is greater than the maximum number that can be returned as an integer. /// A fallback occurred (see Character Encoding in the .NET Framework for complete explanation) /// -and- /// is set to . // Token: 0x06001107 RID: 4359 RVA: 0x0000D6B0 File Offset: 0x0000B8B0 [Token(Token = "0x6001107")] [Address(RVA = "0xD20130", Offset = "0xD1F130", VA = "0x180D20130", Slot = "13")] public override int GetByteCount(char[] chars, int index, int count) { return 0; } /// Calculates the number of bytes produced by encoding the characters in the specified . /// The containing the set of characters to encode. /// The number of bytes produced by encoding the specified characters. /// /// is . /// The resulting number of bytes is greater than the maximum number that can be returned as an integer. /// A fallback occurred (see Character Encoding in the .NET Framework for complete explanation) /// -and- /// is set to . // Token: 0x06001108 RID: 4360 RVA: 0x0000D6C8 File Offset: 0x0000B8C8 [Token(Token = "0x6001108")] [Address(RVA = "0xD20090", Offset = "0xD1F090", VA = "0x180D20090", Slot = "12")] public override int GetByteCount(string chars) { return 0; } /// Calculates the number of bytes produced by encoding a set of characters starting at the specified character pointer. /// A pointer to the first character to encode. /// The number of characters to encode. /// The number of bytes produced by encoding the specified characters. /// /// is . /// /// is less than zero. /// -or- /// The resulting number of bytes is greater than the maximum number that can be returned as an integer. /// A fallback occurred (see Character Encoding in the .NET Framework for complete explanation) /// -and- /// is set to . // Token: 0x06001109 RID: 4361 RVA: 0x0000D6E0 File Offset: 0x0000B8E0 [Token(Token = "0x6001109")] [Address(RVA = "0xD1FC20", Offset = "0xD1EC20", VA = "0x180D1FC20", Slot = "14")] [CLSCompliant(false)] [ComVisible(false)] public unsafe override int GetByteCount(char* chars, int count) { return 0; } /// Encodes a set of characters from the specified into the specified byte array. /// The containing the set of characters to encode. /// The index of the first character to encode. /// The number of characters to encode. /// The byte array to contain the resulting sequence of bytes. /// The index at which to start writing the resulting sequence of bytes. /// The actual number of bytes written into . /// /// is . /// -or- /// is . /// /// or or is less than zero. /// -or- /// and do not denote a valid range in . /// -or- /// is not a valid index in . /// /// does not have enough capacity from to the end of the array to accommodate the resulting bytes. /// A fallback occurred (see Character Encoding in the .NET Framework for complete explanation) /// -and- /// is set to . // Token: 0x0600110A RID: 4362 RVA: 0x0000D6F8 File Offset: 0x0000B8F8 [Token(Token = "0x600110A")] [Address(RVA = "0xD202C0", Offset = "0xD1F2C0", VA = "0x180D202C0", Slot = "20")] public override int GetBytes(string chars, int charIndex, int charCount, byte[] bytes, int byteIndex) { return 0; } /// Encodes a set of characters from the specified character array into the specified byte array. /// The character array containing the set of characters to encode. /// The index of the first character to encode. /// The number of characters to encode. /// The byte array to contain the resulting sequence of bytes. /// The index at which to start writing the resulting sequence of bytes. /// The actual number of bytes written into . /// /// is . /// -or- /// is . /// /// or or is less than zero. /// -or- /// and do not denote a valid range in . /// -or- /// is not a valid index in . /// /// does not have enough capacity from to the end of the array to accommodate the resulting bytes. /// A fallback occurred (see Character Encoding in the .NET Framework for complete explanation) /// -and- /// is set to . // Token: 0x0600110B RID: 4363 RVA: 0x0000D710 File Offset: 0x0000B910 [Token(Token = "0x600110B")] [Address(RVA = "0xD20520", Offset = "0xD1F520", VA = "0x180D20520", Slot = "18")] public override int GetBytes(char[] chars, int charIndex, int charCount, byte[] bytes, int byteIndex) { return 0; } /// Encodes a set of characters starting at the specified character pointer into a sequence of bytes that are stored starting at the specified byte pointer. /// A pointer to the first character to encode. /// The number of characters to encode. /// A pointer to the location at which to start writing the resulting sequence of bytes. /// The maximum number of bytes to write. /// The actual number of bytes written at the location indicated by . /// /// is . /// -or- /// is . /// /// or is less than zero. /// /// is less than the resulting number of bytes. /// A fallback occurred (see Character Encoding in the .NET Framework for complete explanation) /// -and- /// is set to . // Token: 0x0600110C RID: 4364 RVA: 0x0000D728 File Offset: 0x0000B928 [Token(Token = "0x600110C")] [Address(RVA = "0xD20780", Offset = "0xD1F780", VA = "0x180D20780", Slot = "22")] [CLSCompliant(false)] [ComVisible(false)] public unsafe override int GetBytes(char* chars, int charCount, byte* bytes, int byteCount) { return 0; } /// Calculates the number of characters produced by decoding a sequence of bytes from the specified byte array. /// The byte array containing the sequence of bytes to decode. /// The index of the first byte to decode. /// The number of bytes to decode. /// The number of characters produced by decoding the specified sequence of bytes. /// /// is . /// /// or is less than zero. /// -or- /// and do not denote a valid range in . /// -or- /// The resulting number of bytes is greater than the maximum number that can be returned as an integer. /// A fallback occurred (see Character Encoding in the .NET Framework for complete explanation) /// -and- /// is set to . // Token: 0x0600110D RID: 4365 RVA: 0x0000D740 File Offset: 0x0000B940 [Token(Token = "0x600110D")] [Address(RVA = "0xD20EB0", Offset = "0xD1FEB0", VA = "0x180D20EB0", Slot = "23")] public override int GetCharCount(byte[] bytes, int index, int count) { return 0; } /// Calculates the number of characters produced by decoding a sequence of bytes starting at the specified byte pointer. /// A pointer to the first byte to decode. /// The number of bytes to decode. /// The number of characters produced by decoding the specified sequence of bytes. /// /// is . /// /// is less than zero. /// -or- /// The resulting number of bytes is greater than the maximum number that can be returned as an integer. /// A fallback occurred (see Character Encoding in the .NET Framework for complete explanation) /// -and- /// is set to . // Token: 0x0600110E RID: 4366 RVA: 0x0000D758 File Offset: 0x0000B958 [Token(Token = "0x600110E")] [Address(RVA = "0xD20DB0", Offset = "0xD1FDB0", VA = "0x180D20DB0", Slot = "24")] [ComVisible(false)] [CLSCompliant(false)] public unsafe override int GetCharCount(byte* bytes, int count) { return 0; } /// Decodes a sequence of bytes from the specified byte array into the specified character array. /// The byte array containing the sequence of bytes to decode. /// The index of the first byte to decode. /// The number of bytes to decode. /// The character array to contain the resulting set of characters. /// The index at which to start writing the resulting set of characters. /// The actual number of characters written into . /// /// is . /// -or- /// is . /// /// or or is less than zero. /// -or- /// and do not denote a valid range in . /// -or- /// is not a valid index in . /// /// does not have enough capacity from to the end of the array to accommodate the resulting characters. /// A fallback occurred (see Character Encoding in the .NET Framework for complete explanation) /// -and- /// is set to . // Token: 0x0600110F RID: 4367 RVA: 0x0000D770 File Offset: 0x0000B970 [Token(Token = "0x600110F")] [Address(RVA = "0xD21300", Offset = "0xD20300", VA = "0x180D21300", Slot = "28")] public override int GetChars(byte[] bytes, int byteIndex, int byteCount, char[] chars, int charIndex) { return 0; } /// Decodes a sequence of bytes starting at the specified byte pointer into a set of characters that are stored starting at the specified character pointer. /// A pointer to the first byte to decode. /// The number of bytes to decode. /// A pointer to the location at which to start writing the resulting set of characters. /// The maximum number of characters to write. /// The actual number of characters written at the location indicated by . /// /// is . /// -or- /// is . /// /// or is less than zero. /// /// is less than the resulting number of characters. /// A fallback occurred (see Character Encoding in the .NET Framework for complete explanation) /// -and- /// is set to . // Token: 0x06001110 RID: 4368 RVA: 0x0000D788 File Offset: 0x0000B988 [Token(Token = "0x6001110")] [Address(RVA = "0xD211C0", Offset = "0xD201C0", VA = "0x180D211C0", Slot = "29")] [CLSCompliant(false)] [ComVisible(false)] public unsafe override int GetChars(byte* bytes, int byteCount, char* chars, int charCount) { return 0; } /// Decodes a range of bytes from a byte array into a string. /// The byte array containing the sequence of bytes to decode. /// The index of the first byte to decode. /// The number of bytes to decode. /// A containing the results of decoding the specified sequence of bytes. /// /// is . /// /// or is less than zero. /// -or- /// and do not denote a valid range in . /// A fallback occurred (see Character Encoding in the .NET Framework for complete explanation) /// -and- /// is set to . // Token: 0x06001111 RID: 4369 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x6001111")] [Address(RVA = "0xD21BD0", Offset = "0xD20BD0", VA = "0x180D21BD0", Slot = "37")] public override string GetString(byte[] bytes, int byteIndex, int byteCount) { return null; } // Token: 0x06001112 RID: 4370 RVA: 0x0000D7A0 File Offset: 0x0000B9A0 [Token(Token = "0x6001112")] [Address(RVA = "0xD1FD20", Offset = "0xD1ED20", VA = "0x180D1FD20", Slot = "15")] internal unsafe override int GetByteCount(char* chars, int charCount, EncoderNLS encoder) { return 0; } // Token: 0x06001113 RID: 4371 RVA: 0x0000D7B8 File Offset: 0x0000B9B8 [Token(Token = "0x6001113")] [Address(RVA = "0xD208C0", Offset = "0xD1F8C0", VA = "0x180D208C0", Slot = "21")] internal unsafe override int GetBytes(char* chars, int charCount, byte* bytes, int byteCount, EncoderNLS encoder) { return 0; } // Token: 0x06001114 RID: 4372 RVA: 0x0000D7D0 File Offset: 0x0000B9D0 [Token(Token = "0x6001114")] [Address(RVA = "0xD21040", Offset = "0xD20040", VA = "0x180D21040", Slot = "25")] internal unsafe override int GetCharCount(byte* bytes, int count, DecoderNLS decoder) { return 0; } // Token: 0x06001115 RID: 4373 RVA: 0x0000D7E8 File Offset: 0x0000B9E8 [Token(Token = "0x6001115")] [Address(RVA = "0xD21560", Offset = "0xD20560", VA = "0x180D21560", Slot = "30")] internal unsafe override int GetChars(byte* bytes, int byteCount, char* chars, int charCount, DecoderNLS decoder) { return 0; } /// Calculates the maximum number of bytes produced by encoding the specified number of characters. /// The number of characters to encode. /// The maximum number of bytes produced by encoding the specified number of characters. /// /// is less than zero. /// -or- /// The resulting number of bytes is greater than the maximum number that can be returned as an integer. // Token: 0x06001116 RID: 4374 RVA: 0x0000D800 File Offset: 0x0000BA00 [Token(Token = "0x6001116")] [Address(RVA = "0xD21990", Offset = "0xD20990", VA = "0x180D21990", Slot = "34")] public override int GetMaxByteCount(int charCount) { return 0; } /// Calculates the maximum number of characters produced by decoding the specified number of bytes. /// The number of bytes to decode. /// The maximum number of characters produced by decoding the specified number of bytes. /// /// is less than zero. /// -or- /// The resulting number of bytes is greater than the maximum number that can be returned as an integer. // Token: 0x06001117 RID: 4375 RVA: 0x0000D818 File Offset: 0x0000BA18 [Token(Token = "0x6001117")] [Address(RVA = "0xD21AB0", Offset = "0xD20AB0", VA = "0x180D21AB0", Slot = "35")] public override int GetMaxCharCount(int byteCount) { return 0; } /// Obtains a decoder that converts an ASCII encoded sequence of bytes into a sequence of Unicode characters. /// A that converts an ASCII encoded sequence of bytes into a sequence of Unicode characters. // Token: 0x06001118 RID: 4376 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x6001118")] [Address(RVA = "0xD21890", Offset = "0xD20890", VA = "0x180D21890", Slot = "32")] [ComVisible(false)] public override Decoder GetDecoder() { return null; } /// Obtains an encoder that converts a sequence of Unicode characters into an ASCII encoded sequence of bytes. /// An that converts a sequence of Unicode characters into an ASCII encoded sequence of bytes. // Token: 0x06001119 RID: 4377 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x6001119")] [Address(RVA = "0xD21910", Offset = "0xD20910", VA = "0x180D21910", Slot = "33")] [ComVisible(false)] public override Encoder GetEncoder() { return null; } } }