using System; using System.Runtime.InteropServices; using Cpp2IlInjected; namespace System.Text { /// Represents an ASCII character encoding of Unicode characters. // Token: 0x020001BC RID: 444 [Token(Token = "0x20001BC")] [ComVisible(true)] [Serializable] public class ASCIIEncoding : Encoding { /// Initializes a new instance of the class. // Token: 0x060010CF RID: 4303 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x60010CF")] [Address(RVA = "0x2C401D0", Offset = "0x2C3EFD0", VA = "0x182C401D0")] public ASCIIEncoding() { } // Token: 0x060010D0 RID: 4304 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x60010D0")] [Address(RVA = "0x2C401A0", Offset = "0x2C3EFA0", VA = "0x182C401A0", 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: 0x060010D1 RID: 4305 RVA: 0x0000D398 File Offset: 0x0000B598 [Token(Token = "0x60010D1")] [Address(RVA = "0x2C3E470", Offset = "0x2C3D270", VA = "0x182C3E470", 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: 0x060010D2 RID: 4306 RVA: 0x0000D3B0 File Offset: 0x0000B5B0 [Token(Token = "0x60010D2")] [Address(RVA = "0x2C3E3D0", Offset = "0x2C3D1D0", VA = "0x182C3E3D0", 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: 0x060010D3 RID: 4307 RVA: 0x0000D3C8 File Offset: 0x0000B5C8 [Token(Token = "0x60010D3")] [Address(RVA = "0x2C3DF70", Offset = "0x2C3CD70", VA = "0x182C3DF70", 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: 0x060010D4 RID: 4308 RVA: 0x0000D3E0 File Offset: 0x0000B5E0 [Token(Token = "0x60010D4")] [Address(RVA = "0x2C3E600", Offset = "0x2C3D400", VA = "0x182C3E600", 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: 0x060010D5 RID: 4309 RVA: 0x0000D3F8 File Offset: 0x0000B5F8 [Token(Token = "0x60010D5")] [Address(RVA = "0x2C3E860", Offset = "0x2C3D660", VA = "0x182C3E860", 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: 0x060010D6 RID: 4310 RVA: 0x0000D410 File Offset: 0x0000B610 [Token(Token = "0x60010D6")] [Address(RVA = "0x2C3EAC0", Offset = "0x2C3D8C0", VA = "0x182C3EAC0", Slot = "22")] [ComVisible(false)] [CLSCompliant(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: 0x060010D7 RID: 4311 RVA: 0x0000D428 File Offset: 0x0000B628 [Token(Token = "0x60010D7")] [Address(RVA = "0x2C3F250", Offset = "0x2C3E050", VA = "0x182C3F250", 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: 0x060010D8 RID: 4312 RVA: 0x0000D440 File Offset: 0x0000B640 [Token(Token = "0x60010D8")] [Address(RVA = "0x2C3F150", Offset = "0x2C3DF50", VA = "0x182C3F150", Slot = "24")] [CLSCompliant(false)] [ComVisible(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: 0x060010D9 RID: 4313 RVA: 0x0000D458 File Offset: 0x0000B658 [Token(Token = "0x60010D9")] [Address(RVA = "0x2C3F6A0", Offset = "0x2C3E4A0", VA = "0x182C3F6A0", 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: 0x060010DA RID: 4314 RVA: 0x0000D470 File Offset: 0x0000B670 [Token(Token = "0x60010DA")] [Address(RVA = "0x2C3F560", Offset = "0x2C3E360", VA = "0x182C3F560", 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: 0x060010DB RID: 4315 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x60010DB")] [Address(RVA = "0x2C3FF60", Offset = "0x2C3ED60", VA = "0x182C3FF60", Slot = "37")] public override string GetString(byte[] bytes, int byteIndex, int byteCount) { return null; } // Token: 0x060010DC RID: 4316 RVA: 0x0000D488 File Offset: 0x0000B688 [Token(Token = "0x60010DC")] [Address(RVA = "0x2C3E070", Offset = "0x2C3CE70", VA = "0x182C3E070", Slot = "15")] internal unsafe override int GetByteCount(char* chars, int charCount, EncoderNLS encoder) { return 0; } // Token: 0x060010DD RID: 4317 RVA: 0x0000D4A0 File Offset: 0x0000B6A0 [Token(Token = "0x60010DD")] [Address(RVA = "0x2C3EC00", Offset = "0x2C3DA00", VA = "0x182C3EC00", Slot = "21")] internal unsafe override int GetBytes(char* chars, int charCount, byte* bytes, int byteCount, EncoderNLS encoder) { return 0; } // Token: 0x060010DE RID: 4318 RVA: 0x0000D4B8 File Offset: 0x0000B6B8 [Token(Token = "0x60010DE")] [Address(RVA = "0x2C3F3E0", Offset = "0x2C3E1E0", VA = "0x182C3F3E0", Slot = "25")] internal unsafe override int GetCharCount(byte* bytes, int count, DecoderNLS decoder) { return 0; } // Token: 0x060010DF RID: 4319 RVA: 0x0000D4D0 File Offset: 0x0000B6D0 [Token(Token = "0x60010DF")] [Address(RVA = "0x2C3F900", Offset = "0x2C3E700", VA = "0x182C3F900", 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: 0x060010E0 RID: 4320 RVA: 0x0000D4E8 File Offset: 0x0000B6E8 [Token(Token = "0x60010E0")] [Address(RVA = "0x2C3FD20", Offset = "0x2C3EB20", VA = "0x182C3FD20", 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: 0x060010E1 RID: 4321 RVA: 0x0000D500 File Offset: 0x0000B700 [Token(Token = "0x60010E1")] [Address(RVA = "0x2C3FE40", Offset = "0x2C3EC40", VA = "0x182C3FE40", 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: 0x060010E2 RID: 4322 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x60010E2")] [Address(RVA = "0x2C3FC60", Offset = "0x2C3EA60", VA = "0x182C3FC60", 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: 0x060010E3 RID: 4323 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x60010E3")] [Address(RVA = "0x2C3FCC0", Offset = "0x2C3EAC0", VA = "0x182C3FCC0", Slot = "33")] [ComVisible(false)] public override Encoder GetEncoder() { return null; } } }