using System; using System.Runtime.InteropServices; using System.Runtime.Serialization; using Cpp2IlInjected; namespace System.Text { /// Represents a UTF-8 encoding of Unicode characters. // Token: 0x020001ED RID: 493 [Token(Token = "0x20001ED")] [ComVisible(true)] [Serializable] public class UTF8Encoding : Encoding { /// Initializes a new instance of the class. // Token: 0x06001305 RID: 4869 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6001305")] [Address(RVA = "0xF38130", Offset = "0xF37130", VA = "0x180F38130")] public UTF8Encoding() { } /// Initializes a new instance of the class. A parameter specifies whether to provide a Unicode byte order mark. /// /// to specify that the method returns a Unicode byte order mark; otherwise, . // Token: 0x06001306 RID: 4870 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6001306")] [Address(RVA = "0xF38100", Offset = "0xF37100", VA = "0x180F38100")] public UTF8Encoding(bool encoderShouldEmitUTF8Identifier) { } /// Initializes a new instance of the class. Parameters specify whether to provide a Unicode byte order mark and whether to throw an exception when an invalid encoding is detected. /// /// to specify that the method should return a Unicode byte order mark; otherwise, . /// /// to throw an exception when an invalid encoding is detected; otherwise, . // Token: 0x06001307 RID: 4871 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6001307")] [Address(RVA = "0xF380A0", Offset = "0xF370A0", VA = "0x180F380A0")] public UTF8Encoding(bool encoderShouldEmitUTF8Identifier, bool throwOnInvalidBytes) { } // Token: 0x06001308 RID: 4872 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6001308")] [Address(RVA = "0xF38000", Offset = "0xF37000", VA = "0x180F38000", 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. /// Error detection is enabled, and contains an invalid sequence of characters. /// A fallback occurred (see Character Encoding in the .NET Framework for complete explanation) /// -and- /// The property is set to . // Token: 0x06001309 RID: 4873 RVA: 0x0000EB20 File Offset: 0x0000CD20 [Token(Token = "0x6001309")] [Address(RVA = "0xF35230", Offset = "0xF34230", VA = "0x180F35230", 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. /// Error detection is enabled, and contains an invalid sequence of characters. /// A fallback occurred (see Character Encoding in the .NET Framework for complete explanation) /// -and- /// is set to . // Token: 0x0600130A RID: 4874 RVA: 0x0000EB38 File Offset: 0x0000CD38 [Token(Token = "0x600130A")] [Address(RVA = "0xF353C0", Offset = "0xF343C0", VA = "0x180F353C0", 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. /// Error detection is enabled, and contains an invalid sequence of characters. /// A fallback occurred (see Character Encoding in the .NET Framework for a complete explanation) /// -and- /// is set to . // Token: 0x0600130B RID: 4875 RVA: 0x0000EB50 File Offset: 0x0000CD50 [Token(Token = "0x600130B")] [Address(RVA = "0xF34B40", Offset = "0xF33B40", VA = "0x180F34B40", Slot = "14")] [ComVisible(false)] [CLSCompliant(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 . /// Error detection is enabled, and contains an invalid sequence of characters. /// -or- /// 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: 0x0600130C RID: 4876 RVA: 0x0000EB68 File Offset: 0x0000CD68 [Token(Token = "0x600130C")] [Address(RVA = "0xF361A0", Offset = "0xF351A0", VA = "0x180F361A0", Slot = "20")] public override int GetBytes(string s, 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 . /// Error detection is enabled, and contains an invalid sequence of characters. /// -or- /// 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: 0x0600130D RID: 4877 RVA: 0x0000EB80 File Offset: 0x0000CD80 [Token(Token = "0x600130D")] [Address(RVA = "0xF35F40", Offset = "0xF34F40", VA = "0x180F35F40", 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. /// Error detection is enabled, and contains an invalid sequence of characters. /// -or- /// 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: 0x0600130E RID: 4878 RVA: 0x0000EB98 File Offset: 0x0000CD98 [Token(Token = "0x600130E")] [Address(RVA = "0xF36400", Offset = "0xF35400", VA = "0x180F36400", 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. /// Error detection is enabled, and contains an invalid sequence of bytes. /// A fallback occurred (see Character Encoding in the .NET Framework for complete explanation) /// -and- /// is set to . // Token: 0x0600130F RID: 4879 RVA: 0x0000EBB0 File Offset: 0x0000CDB0 [Token(Token = "0x600130F")] [Address(RVA = "0xF36B40", Offset = "0xF35B40", VA = "0x180F36B40", 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. /// Error detection is enabled, and contains an invalid sequence of bytes. /// A fallback occurred (see Character Encoding in the .NET Framework for complete explanation) /// -and- /// is set to . // Token: 0x06001310 RID: 4880 RVA: 0x0000EBC8 File Offset: 0x0000CDC8 [Token(Token = "0x6001310")] [Address(RVA = "0xF36A40", Offset = "0xF35A40", VA = "0x180F36A40", 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 . /// Error detection is enabled, and contains an invalid sequence of bytes. /// -or- /// 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: 0x06001311 RID: 4881 RVA: 0x0000EBE0 File Offset: 0x0000CDE0 [Token(Token = "0x6001311")] [Address(RVA = "0xF36E10", Offset = "0xF35E10", VA = "0x180F36E10", 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. /// Error detection is enabled, and contains an invalid sequence of bytes. /// -or- /// 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: 0x06001312 RID: 4882 RVA: 0x0000EBF8 File Offset: 0x0000CDF8 [Token(Token = "0x6001312")] [Address(RVA = "0xF36CD0", Offset = "0xF35CD0", VA = "0x180F36CD0", Slot = "29")] [ComVisible(false)] [CLSCompliant(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 . /// Error detection is enabled, and contains an invalid sequence of bytes. /// A fallback occurred (see Character Encoding in the .NET Framework for complete explanation) /// -and- /// is set to . // Token: 0x06001313 RID: 4883 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x6001313")] [Address(RVA = "0xF37E50", Offset = "0xF36E50", VA = "0x180F37E50", Slot = "37")] [ComVisible(false)] public override string GetString(byte[] bytes, int index, int count) { return null; } // Token: 0x06001314 RID: 4884 RVA: 0x0000EC10 File Offset: 0x0000CE10 [Token(Token = "0x6001314")] [Address(RVA = "0xF34C40", Offset = "0xF33C40", VA = "0x180F34C40", Slot = "15")] internal unsafe override int GetByteCount(char* chars, int count, EncoderNLS baseEncoder) { return 0; } // Token: 0x06001315 RID: 4885 RVA: 0x0000EC28 File Offset: 0x0000CE28 [Token(Token = "0x6001315")] [Address(RVA = "0xF37FE0", Offset = "0xF36FE0", VA = "0x180F37FE0")] private unsafe static int PtrDiff(char* a, char* b) { return 0; } // Token: 0x06001316 RID: 4886 RVA: 0x0000EC40 File Offset: 0x0000CE40 [Token(Token = "0x6001316")] [Address(RVA = "0xF37FF0", Offset = "0xF36FF0", VA = "0x180F37FF0")] private unsafe static int PtrDiff(byte* a, byte* b) { return 0; } // Token: 0x06001317 RID: 4887 RVA: 0x0000EC58 File Offset: 0x0000CE58 [Token(Token = "0x6001317")] [Address(RVA = "0x680D90", Offset = "0x67FD90", VA = "0x180680D90")] private static bool InRange(int ch, int start, int end) { return default(bool); } // Token: 0x06001318 RID: 4888 RVA: 0x0000EC70 File Offset: 0x0000CE70 [Token(Token = "0x6001318")] [Address(RVA = "0xF35790", Offset = "0xF34790", VA = "0x180F35790", Slot = "21")] internal unsafe override int GetBytes(char* chars, int charCount, byte* bytes, int byteCount, EncoderNLS baseEncoder) { return 0; } // Token: 0x06001319 RID: 4889 RVA: 0x0000EC88 File Offset: 0x0000CE88 [Token(Token = "0x6001319")] [Address(RVA = "0xF36540", Offset = "0xF35540", VA = "0x180F36540", Slot = "25")] internal unsafe override int GetCharCount(byte* bytes, int count, DecoderNLS baseDecoder) { return 0; } // Token: 0x0600131A RID: 4890 RVA: 0x0000ECA0 File Offset: 0x0000CEA0 [Token(Token = "0x600131A")] [Address(RVA = "0xF37070", Offset = "0xF36070", VA = "0x180F37070", Slot = "30")] internal unsafe override int GetChars(byte* bytes, int byteCount, char* chars, int charCount, DecoderNLS baseDecoder) { return 0; } // Token: 0x0600131B RID: 4891 RVA: 0x0000ECB8 File Offset: 0x0000CEB8 [Token(Token = "0x600131B")] [Address(RVA = "0xF34A70", Offset = "0xF33A70", VA = "0x180F34A70")] private unsafe bool FallbackInvalidByteSequence(ref byte* pSrc, int ch, DecoderFallbackBuffer fallback, ref char* pTarget) { return default(bool); } // Token: 0x0600131C RID: 4892 RVA: 0x0000ECD0 File Offset: 0x0000CED0 [Token(Token = "0x600131C")] [Address(RVA = "0xF34AF0", Offset = "0xF33AF0", VA = "0x180F34AF0")] private unsafe int FallbackInvalidByteSequence(byte* pSrc, int ch, DecoderFallbackBuffer fallback) { return 0; } // Token: 0x0600131D RID: 4893 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x600131D")] [Address(RVA = "0xF35460", Offset = "0xF34460", VA = "0x180F35460")] private unsafe byte[] GetBytesUnknown(ref byte* pSrc, int ch) { return null; } /// Obtains a decoder that converts a UTF-8 encoded sequence of bytes into a sequence of Unicode characters. /// A decoder that converts a UTF-8 encoded sequence of bytes into a sequence of Unicode characters. // Token: 0x0600131E RID: 4894 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x600131E")] [Address(RVA = "0xF37A40", Offset = "0xF36A40", VA = "0x180F37A40", Slot = "32")] public override Decoder GetDecoder() { return null; } /// Obtains an encoder that converts a sequence of Unicode characters into a UTF-8 encoded sequence of bytes. /// A that converts a sequence of Unicode characters into a UTF-8 encoded sequence of bytes. // Token: 0x0600131F RID: 4895 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x600131F")] [Address(RVA = "0xF37AA0", Offset = "0xF36AA0", VA = "0x180F37AA0", Slot = "33")] public override Encoder GetEncoder() { return null; } /// 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. /// A fallback occurred (see Character Encoding in the .NET Framework for complete explanation) /// -and- /// is set to . // Token: 0x06001320 RID: 4896 RVA: 0x0000ECE8 File Offset: 0x0000CEE8 [Token(Token = "0x6001320")] [Address(RVA = "0xF37B70", Offset = "0xF36B70", VA = "0x180F37B70", 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. /// A fallback occurred (see Character Encoding in the .NET Framework for complete explanation) /// -and- /// is set to . // Token: 0x06001321 RID: 4897 RVA: 0x0000ED00 File Offset: 0x0000CF00 [Token(Token = "0x6001321")] [Address(RVA = "0xF37C90", Offset = "0xF36C90", VA = "0x180F37C90", Slot = "35")] public override int GetMaxCharCount(int byteCount) { return 0; } /// Returns a Unicode byte order mark encoded in UTF-8 format, if the encoding object is configured to supply one. /// A byte array containing the Unicode byte order mark, if the encoding object is configured to supply one. Otherwise, this method returns a zero-length byte array. // Token: 0x06001322 RID: 4898 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x6001322")] [Address(RVA = "0xF37DB0", Offset = "0xF36DB0", VA = "0x180F37DB0", Slot = "6")] public override byte[] GetPreamble() { return null; } /// Determines whether the specified object is equal to the current object. /// The object to compare with the current instance. /// /// if is an instance of and is equal to the current object; otherwise, . // Token: 0x06001323 RID: 4899 RVA: 0x0000ED18 File Offset: 0x0000CF18 [Token(Token = "0x6001323")] [Address(RVA = "0xF34980", Offset = "0xF33980", VA = "0x180F34980", Slot = "0")] public override bool Equals(object value) { return default(bool); } /// Returns the hash code for the current instance. /// The hash code for the current instance. // Token: 0x06001324 RID: 4900 RVA: 0x0000ED30 File Offset: 0x0000CF30 [Token(Token = "0x6001324")] [Address(RVA = "0xF37B00", Offset = "0xF36B00", VA = "0x180F37B00", Slot = "2")] public override int GetHashCode() { return 0; } // Token: 0x04000999 RID: 2457 [global::Cpp2IlInjected.FieldOffset(Offset = "0x38")] [Token(Token = "0x4000999")] private bool emitUTF8Identifier; // Token: 0x0400099A RID: 2458 [global::Cpp2IlInjected.FieldOffset(Offset = "0x39")] [Token(Token = "0x400099A")] private bool isThrowException; // Token: 0x020001EE RID: 494 [Token(Token = "0x20001EE")] [Serializable] internal class UTF8Encoder : EncoderNLS, ISerializable { // Token: 0x06001325 RID: 4901 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6001325")] [Address(RVA = "0xF2B0F0", Offset = "0xF2A0F0", VA = "0x180F2B0F0")] public UTF8Encoder(UTF8Encoding encoding) { } // Token: 0x06001326 RID: 4902 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6001326")] [Address(RVA = "0xF34720", Offset = "0xF33720", VA = "0x180F34720")] internal UTF8Encoder(SerializationInfo info, StreamingContext context) { } // Token: 0x06001327 RID: 4903 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6001327")] [Address(RVA = "0xF34640", Offset = "0xF33640", VA = "0x180F34640", Slot = "11")] void ISerializable.GetObjectData(SerializationInfo info, StreamingContext context) { } // Token: 0x06001328 RID: 4904 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6001328")] [Address(RVA = "0xF34610", Offset = "0xF33610", VA = "0x180F34610", Slot = "4")] public override void Reset() { } // Token: 0x170001E4 RID: 484 // (get) Token: 0x06001329 RID: 4905 RVA: 0x0000ED48 File Offset: 0x0000CF48 [Token(Token = "0x170001E4")] internal override bool HasState { [Token(Token = "0x6001329")] [Address(RVA = "0xF34970", Offset = "0xF33970", VA = "0x180F34970", Slot = "12")] get { return default(bool); } } // Token: 0x0400099B RID: 2459 [global::Cpp2IlInjected.FieldOffset(Offset = "0x38")] [Token(Token = "0x400099B")] internal int surrogateChar; } // Token: 0x020001EF RID: 495 [Token(Token = "0x20001EF")] [Serializable] internal class UTF8Decoder : DecoderNLS, ISerializable { // Token: 0x0600132A RID: 4906 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x600132A")] [Address(RVA = "0xF2ADF0", Offset = "0xF29DF0", VA = "0x180F2ADF0")] public UTF8Decoder(UTF8Encoding encoding) { } // Token: 0x0600132B RID: 4907 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x600132B")] [Address(RVA = "0xF343C0", Offset = "0xF333C0", VA = "0x180F343C0")] internal UTF8Decoder(SerializationInfo info, StreamingContext context) { } // Token: 0x0600132C RID: 4908 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x600132C")] [Address(RVA = "0xF342B0", Offset = "0xF332B0", VA = "0x180F342B0", Slot = "13")] void ISerializable.GetObjectData(SerializationInfo info, StreamingContext context) { } // Token: 0x0600132D RID: 4909 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x600132D")] [Address(RVA = "0xF34280", Offset = "0xF33280", VA = "0x180F34280", Slot = "4")] public override void Reset() { } // Token: 0x170001E5 RID: 485 // (get) Token: 0x0600132E RID: 4910 RVA: 0x0000ED60 File Offset: 0x0000CF60 [Token(Token = "0x170001E5")] internal override bool HasState { [Token(Token = "0x600132E")] [Address(RVA = "0x6CB260", Offset = "0x6CA260", VA = "0x1806CB260", Slot = "14")] get { return default(bool); } } // Token: 0x0400099C RID: 2460 [global::Cpp2IlInjected.FieldOffset(Offset = "0x30")] [Token(Token = "0x400099C")] internal int bits; } } }