Files
27Aug2021-Cpp2IL-Dump/mscorlib/System/Text/UTF7Encoding.cs
T
niko c12fbe3fc6 m
2026-04-12 16:51:38 +02:00

717 lines
35 KiB
C#

using System;
using System.Runtime.InteropServices;
using System.Runtime.Serialization;
using Cpp2IlInjected;
namespace System.Text
{
/// <summary>Represents a UTF-7 encoding of Unicode characters.</summary>
// Token: 0x020001E8 RID: 488
[Token(Token = "0x20001E8")]
[ComVisible(true)]
[Serializable]
public class UTF7Encoding : Encoding
{
/// <summary>Initializes a new instance of the <see cref="T:System.Text.UTF7Encoding" /> class.</summary>
// Token: 0x060012D5 RID: 4821 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x60012D5")]
[Address(RVA = "0xF34250", Offset = "0xF33250", VA = "0x180F34250")]
public UTF7Encoding()
{
}
/// <summary>Initializes a new instance of the <see cref="T:System.Text.UTF7Encoding" /> class. A parameter specifies whether to allow optional characters.</summary>
/// <param name="allowOptionals">
/// <see langword="true" /> to specify that optional characters are allowed; otherwise, <see langword="false" />.</param>
// Token: 0x060012D6 RID: 4822 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x60012D6")]
[Address(RVA = "0xF34210", Offset = "0xF33210", VA = "0x180F34210")]
public UTF7Encoding(bool allowOptionals)
{
}
// Token: 0x060012D7 RID: 4823 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x60012D7")]
[Address(RVA = "0xF33E60", Offset = "0xF32E60", VA = "0x180F33E60")]
private void MakeTables()
{
}
// Token: 0x060012D8 RID: 4824 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x60012D8")]
[Address(RVA = "0xF34180", Offset = "0xF33180", VA = "0x180F34180", Slot = "5")]
internal override void SetDefaultFallbacks()
{
}
// Token: 0x060012D9 RID: 4825 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x60012D9")]
[Address(RVA = "0xF34170", Offset = "0xF33170", VA = "0x180F34170")]
[OnDeserializing]
private void OnDeserializing(StreamingContext ctx)
{
}
// Token: 0x060012DA RID: 4826 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x60012DA")]
[Address(RVA = "0xF340D0", Offset = "0xF330D0", VA = "0x180F340D0")]
[OnDeserialized]
private void OnDeserialized(StreamingContext ctx)
{
}
/// <summary>Gets a value indicating whether the specified object is equal to the current <see cref="T:System.Text.UTF7Encoding" /> object.</summary>
/// <param name="value">An object to compare to the current <see cref="T:System.Text.UTF7Encoding" /> object.</param>
/// <returns>
/// <see langword="true" /> if <paramref name="value" /> is a <see cref="T:System.Text.UTF7Encoding" /> object and is equal to the current <see cref="T:System.Text.UTF7Encoding" /> object; otherwise, <see langword="false" />.</returns>
// Token: 0x060012DB RID: 4827 RVA: 0x0000E898 File Offset: 0x0000CA98
[Token(Token = "0x60012DB")]
[Address(RVA = "0xF322C0", Offset = "0xF312C0", VA = "0x180F322C0", Slot = "0")]
[ComVisible(false)]
public override bool Equals(object value)
{
return default(bool);
}
/// <summary>Returns the hash code for the current <see cref="T:System.Text.UTF7Encoding" /> object.</summary>
/// <returns>A 32-bit signed integer hash code.</returns>
// Token: 0x060012DC RID: 4828 RVA: 0x0000E8B0 File Offset: 0x0000CAB0
[Token(Token = "0x60012DC")]
[Address(RVA = "0xF33AE0", Offset = "0xF32AE0", VA = "0x180F33AE0", Slot = "2")]
[ComVisible(false)]
public override int GetHashCode()
{
return 0;
}
/// <summary>Calculates the number of bytes produced by encoding a set of characters from the specified character array.</summary>
/// <param name="chars">The character array containing the set of characters to encode.</param>
/// <param name="index">The index of the first character to encode.</param>
/// <param name="count">The number of characters to encode.</param>
/// <returns>The number of bytes produced by encoding the specified characters.</returns>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="chars" /> is <see langword="null" /> (<see langword="Nothing" />).</exception>
/// <exception cref="T:System.ArgumentOutOfRangeException">
/// <paramref name="index" /> or <paramref name="count" /> is less than zero.
/// -or-
/// <paramref name="index" /> and <paramref name="count" /> do not denote a valid range in <paramref name="chars" />.
/// -or-
/// The resulting number of bytes is greater than the maximum number that can be returned as an int.</exception>
/// <exception cref="T:System.Text.EncoderFallbackException">A fallback occurred (see Character Encoding in the .NET Framework for complete explanation)
/// -and-
/// <see cref="P:System.Text.Encoding.EncoderFallback" /> is set to <see cref="T:System.Text.EncoderExceptionFallback" />.</exception>
// Token: 0x060012DD RID: 4829 RVA: 0x0000E8C8 File Offset: 0x0000CAC8
[Token(Token = "0x60012DD")]
[Address(RVA = "0xF324E0", Offset = "0xF314E0", VA = "0x180F324E0", Slot = "13")]
public override int GetByteCount(char[] chars, int index, int count)
{
return 0;
}
/// <summary>Calculates the number of bytes produced by encoding the characters in the specified <see cref="T:System.String" /> object.</summary>
/// <param name="s">The <see cref="T:System.String" /> object containing the set of characters to encode.</param>
/// <returns>The number of bytes produced by encoding the specified characters.</returns>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="s" /> is <see langword="null" /> (<see langword="Nothing" />).</exception>
/// <exception cref="T:System.ArgumentOutOfRangeException">The resulting number of bytes is greater than the maximum number that can be returned as an int.</exception>
/// <exception cref="T:System.Text.EncoderFallbackException">A fallback occurred (see Character Encoding in the .NET Framework for fuller explanation)
/// -and-
/// <see cref="P:System.Text.Encoding.EncoderFallback" /> is set to <see cref="T:System.Text.EncoderExceptionFallback" />.</exception>
// Token: 0x060012DE RID: 4830 RVA: 0x0000E8E0 File Offset: 0x0000CAE0
[Token(Token = "0x60012DE")]
[Address(RVA = "0xF32670", Offset = "0xF31670", VA = "0x180F32670", Slot = "12")]
[ComVisible(false)]
public override int GetByteCount(string s)
{
return 0;
}
/// <summary>Calculates the number of bytes produced by encoding a set of characters starting at the specified character pointer.</summary>
/// <param name="chars">A pointer to the first character to encode.</param>
/// <param name="count">The number of characters to encode.</param>
/// <returns>The number of bytes produced by encoding the specified characters.</returns>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="chars" /> is <see langword="null" /> (<see langword="Nothing" /> in Visual Basic .NET).</exception>
/// <exception cref="T:System.ArgumentOutOfRangeException">
/// <paramref name="count" /> is less than zero.
/// -or-
/// The resulting number of bytes is greater than the maximum number that can be returned as an int.</exception>
/// <exception cref="T:System.Text.EncoderFallbackException">A fallback occurred (see Character Encoding in the .NET Framework for complete explanation)
/// -and-
/// <see cref="P:System.Text.Encoding.EncoderFallback" /> is set to <see cref="T:System.Text.EncoderExceptionFallback" />.</exception>
// Token: 0x060012DF RID: 4831 RVA: 0x0000E8F8 File Offset: 0x0000CAF8
[Token(Token = "0x60012DF")]
[Address(RVA = "0xF323E0", Offset = "0xF313E0", VA = "0x180F323E0", Slot = "14")]
[CLSCompliant(false)]
[ComVisible(false)]
public unsafe override int GetByteCount(char* chars, int count)
{
return 0;
}
/// <summary>Encodes a set of characters from the specified <see cref="T:System.String" /> into the specified byte array.</summary>
/// <param name="s">The <see cref="T:System.String" /> containing the set of characters to encode.</param>
/// <param name="charIndex">The index of the first character to encode.</param>
/// <param name="charCount">The number of characters to encode.</param>
/// <param name="bytes">The byte array to contain the resulting sequence of bytes.</param>
/// <param name="byteIndex">The index at which to start writing the resulting sequence of bytes.</param>
/// <returns>The actual number of bytes written into <paramref name="bytes" />.</returns>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="s" /> is <see langword="null" /> (<see langword="Nothing" />).
/// -or-
/// <paramref name="bytes" /> is <see langword="null" /> (<see langword="Nothing" />).</exception>
/// <exception cref="T:System.ArgumentOutOfRangeException">
/// <paramref name="charIndex" /> or <paramref name="charCount" /> or <paramref name="byteIndex" /> is less than zero.
/// -or-
/// <paramref name="charIndex" /> and <paramref name="charCount" /> do not denote a valid range in <paramref name="chars" />.
/// -or-
/// <paramref name="byteIndex" /> is not a valid index in <paramref name="bytes" />.</exception>
/// <exception cref="T:System.ArgumentException">
/// <paramref name="bytes" /> does not have enough capacity from <paramref name="byteIndex" /> to the end of the array to accommodate the resulting bytes.</exception>
/// <exception cref="T:System.Text.EncoderFallbackException">A fallback occurred (see Character Encoding in the .NET Framework for fuller explanation)
/// -and-
/// <see cref="P:System.Text.Encoding.EncoderFallback" /> is set to <see cref="T:System.Text.EncoderExceptionFallback" />.</exception>
// Token: 0x060012E0 RID: 4832 RVA: 0x0000E910 File Offset: 0x0000CB10
[Token(Token = "0x60012E0")]
[Address(RVA = "0xF32EB0", Offset = "0xF31EB0", VA = "0x180F32EB0", Slot = "20")]
[ComVisible(false)]
public override int GetBytes(string s, int charIndex, int charCount, byte[] bytes, int byteIndex)
{
return 0;
}
/// <summary>Encodes a set of characters from the specified character array into the specified byte array.</summary>
/// <param name="chars">The character array containing the set of characters to encode.</param>
/// <param name="charIndex">The index of the first character to encode.</param>
/// <param name="charCount">The number of characters to encode.</param>
/// <param name="bytes">The byte array to contain the resulting sequence of bytes.</param>
/// <param name="byteIndex">The index at which to start writing the resulting sequence of bytes.</param>
/// <returns>The actual number of bytes written into <paramref name="bytes" />.</returns>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="chars" /> is <see langword="null" /> (<see langword="Nothing" />).
/// -or-
/// <paramref name="bytes" /> is <see langword="null" /> (<see langword="Nothing" />).</exception>
/// <exception cref="T:System.ArgumentOutOfRangeException">
/// <paramref name="charIndex" /> or <paramref name="charCount" /> or <paramref name="byteIndex" /> is less than zero.
/// -or-
/// <paramref name="charIndex" /> and <paramref name="charCount" /> do not denote a valid range in <paramref name="chars" />.
/// -or-
/// <paramref name="byteIndex" /> is not a valid index in <paramref name="bytes" />.</exception>
/// <exception cref="T:System.ArgumentException">
/// <paramref name="bytes" /> does not have enough capacity from <paramref name="byteIndex" /> to the end of the array to accommodate the resulting bytes.</exception>
/// <exception cref="T:System.Text.EncoderFallbackException">A fallback occurred (see Character Encoding in the .NET Framework for fuller explanation)
/// -and-
/// <see cref="P:System.Text.Encoding.EncoderFallback" /> is set to <see cref="T:System.Text.EncoderExceptionFallback" />.</exception>
// Token: 0x060012E1 RID: 4833 RVA: 0x0000E928 File Offset: 0x0000CB28
[Token(Token = "0x60012E1")]
[Address(RVA = "0xF32710", Offset = "0xF31710", VA = "0x180F32710", Slot = "18")]
public override int GetBytes(char[] chars, int charIndex, int charCount, byte[] bytes, int byteIndex)
{
return 0;
}
/// <summary>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.</summary>
/// <param name="chars">A pointer to the first character to encode.</param>
/// <param name="charCount">The number of characters to encode.</param>
/// <param name="bytes">A pointer to the location at which to start writing the resulting sequence of bytes.</param>
/// <param name="byteCount">The maximum number of bytes to write.</param>
/// <returns>The actual number of bytes written at the location indicated by <paramref name="bytes" />.</returns>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="chars" /> is <see langword="null" /> (<see langword="Nothing" />).
/// -or-
/// <paramref name="bytes" /> is <see langword="null" /> (<see langword="Nothing" />).</exception>
/// <exception cref="T:System.ArgumentOutOfRangeException">
/// <paramref name="charCount" /> or <paramref name="byteCount" /> is less than zero.</exception>
/// <exception cref="T:System.ArgumentException">
/// <paramref name="byteCount" /> is less than the resulting number of bytes.</exception>
/// <exception cref="T:System.Text.EncoderFallbackException">A fallback occurred (see Character Encoding in the .NET Framework for fuller explanation)
/// -and-
/// <see cref="P:System.Text.Encoding.EncoderFallback" /> is set to <see cref="T:System.Text.EncoderExceptionFallback" />.</exception>
// Token: 0x060012E2 RID: 4834 RVA: 0x0000E940 File Offset: 0x0000CB40
[Token(Token = "0x60012E2")]
[Address(RVA = "0xF32D70", Offset = "0xF31D70", VA = "0x180F32D70", Slot = "22")]
[ComVisible(false)]
[CLSCompliant(false)]
public unsafe override int GetBytes(char* chars, int charCount, byte* bytes, int byteCount)
{
return 0;
}
/// <summary>Calculates the number of characters produced by decoding a sequence of bytes from the specified byte array.</summary>
/// <param name="bytes">The byte array containing the sequence of bytes to decode.</param>
/// <param name="index">The index of the first byte to decode.</param>
/// <param name="count">The number of bytes to decode.</param>
/// <returns>The number of characters produced by decoding the specified sequence of bytes.</returns>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="bytes" /> is <see langword="null" /> (<see langword="Nothing" />).</exception>
/// <exception cref="T:System.ArgumentOutOfRangeException">
/// <paramref name="index" /> or <paramref name="count" /> is less than zero.
/// -or-
/// <paramref name="index" /> and <paramref name="count" /> do not denote a valid range in <paramref name="bytes" />.
/// -or-
/// The resulting number of characters is greater than the maximum number that can be returned as an int.</exception>
/// <exception cref="T:System.Text.DecoderFallbackException">A fallback occurred (see Character Encoding in the .NET Framework for complete explanation)
/// -and-
/// <see cref="P:System.Text.Encoding.DecoderFallback" /> is set to <see cref="T:System.Text.DecoderExceptionFallback" />.</exception>
// Token: 0x060012E3 RID: 4835 RVA: 0x0000E958 File Offset: 0x0000CB58
[Token(Token = "0x60012E3")]
[Address(RVA = "0xF33210", Offset = "0xF32210", VA = "0x180F33210", Slot = "23")]
public override int GetCharCount(byte[] bytes, int index, int count)
{
return 0;
}
/// <summary>Calculates the number of characters produced by decoding a sequence of bytes starting at the specified byte pointer.</summary>
/// <param name="bytes">A pointer to the first byte to decode.</param>
/// <param name="count">The number of bytes to decode.</param>
/// <returns>The number of characters produced by decoding the specified sequence of bytes.</returns>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="bytes" /> is <see langword="null" /> (<see langword="Nothing" />).</exception>
/// <exception cref="T:System.ArgumentOutOfRangeException">
/// <paramref name="count" /> is less than zero.
/// -or-
/// The resulting number of characters is greater than the maximum number that can be returned as an int.</exception>
/// <exception cref="T:System.Text.DecoderFallbackException">A fallback occurred (see Character Encoding in the .NET Framework for fuller explanation)
/// -and-
/// <see cref="P:System.Text.Encoding.DecoderFallback" /> is set to <see cref="T:System.Text.DecoderExceptionFallback" />.</exception>
// Token: 0x060012E4 RID: 4836 RVA: 0x0000E970 File Offset: 0x0000CB70
[Token(Token = "0x60012E4")]
[Address(RVA = "0xF33110", Offset = "0xF32110", VA = "0x180F33110", Slot = "24")]
[CLSCompliant(false)]
[ComVisible(false)]
public unsafe override int GetCharCount(byte* bytes, int count)
{
return 0;
}
/// <summary>Decodes a sequence of bytes from the specified byte array into the specified character array.</summary>
/// <param name="bytes">The byte array containing the sequence of bytes to decode.</param>
/// <param name="byteIndex">The index of the first byte to decode.</param>
/// <param name="byteCount">The number of bytes to decode.</param>
/// <param name="chars">The character array to contain the resulting set of characters.</param>
/// <param name="charIndex">The index at which to start writing the resulting set of characters.</param>
/// <returns>The actual number of characters written into <paramref name="chars" />.</returns>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="bytes" /> is <see langword="null" /> (<see langword="Nothing" />).
/// -or-
/// <paramref name="chars" /> is <see langword="null" /> (<see langword="Nothing" />).</exception>
/// <exception cref="T:System.ArgumentOutOfRangeException">
/// <paramref name="byteIndex" /> or <paramref name="byteCount" /> or <paramref name="charIndex" /> is less than zero.
/// -or-
/// <paramref name="byteindex" /> and <paramref name="byteCount" /> do not denote a valid range in <paramref name="bytes" />.
/// -or-
/// <paramref name="charIndex" /> is not a valid index in <paramref name="chars" />.</exception>
/// <exception cref="T:System.ArgumentException">
/// <paramref name="chars" /> does not have enough capacity from <paramref name="charIndex" /> to the end of the array to accommodate the resulting characters.</exception>
/// <exception cref="T:System.Text.DecoderFallbackException">A fallback occurred (see Character Encoding in the .NET Framework for complete explanation)
/// -and-
/// <see cref="P:System.Text.Encoding.DecoderFallback" /> is set to <see cref="T:System.Text.DecoderExceptionFallback" />.</exception>
// Token: 0x060012E5 RID: 4837 RVA: 0x0000E988 File Offset: 0x0000CB88
[Token(Token = "0x60012E5")]
[Address(RVA = "0xF337C0", Offset = "0xF327C0", VA = "0x180F337C0", Slot = "28")]
public override int GetChars(byte[] bytes, int byteIndex, int byteCount, char[] chars, int charIndex)
{
return 0;
}
/// <summary>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.</summary>
/// <param name="bytes">A pointer to the first byte to decode.</param>
/// <param name="byteCount">The number of bytes to decode.</param>
/// <param name="chars">A pointer to the location at which to start writing the resulting set of characters.</param>
/// <param name="charCount">The maximum number of characters to write.</param>
/// <returns>The actual number of characters written at the location indicated by <paramref name="chars" />.</returns>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="bytes" /> is <see langword="null" /> (<see langword="Nothing" />).
/// -or-
/// <paramref name="chars" /> is <see langword="null" /> (<see langword="Nothing" />).</exception>
/// <exception cref="T:System.ArgumentOutOfRangeException">
/// <paramref name="byteCount" /> or <paramref name="charCount" /> is less than zero.</exception>
/// <exception cref="T:System.ArgumentException">
/// <paramref name="charCount" /> is less than the resulting number of characters.</exception>
/// <exception cref="T:System.Text.DecoderFallbackException">A fallback occurred (see Character Encoding in the .NET Framework for complete explanation)
/// -and-
/// <see cref="P:System.Text.Encoding.DecoderFallback" /> is set to <see cref="T:System.Text.DecoderExceptionFallback" />.</exception>
// Token: 0x060012E6 RID: 4838 RVA: 0x0000E9A0 File Offset: 0x0000CBA0
[Token(Token = "0x60012E6")]
[Address(RVA = "0xF33680", Offset = "0xF32680", VA = "0x180F33680", Slot = "29")]
[ComVisible(false)]
[CLSCompliant(false)]
public unsafe override int GetChars(byte* bytes, int byteCount, char* chars, int charCount)
{
return 0;
}
/// <summary>Decodes a range of bytes from a byte array into a string.</summary>
/// <param name="bytes">The byte array containing the sequence of bytes to decode.</param>
/// <param name="index">The index of the first byte to decode.</param>
/// <param name="count">The number of bytes to decode.</param>
/// <returns>A <see cref="T:System.String" /> containing the results of decoding the specified sequence of bytes.</returns>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="bytes" /> is <see langword="null" /> (<see langword="Nothing" />).</exception>
/// <exception cref="T:System.ArgumentOutOfRangeException">
/// <paramref name="index" /> or <paramref name="count" /> is less than zero.
/// -or-
/// <paramref name="index" /> and <paramref name="count" /> do not denote a valid range in <paramref name="bytes" />.</exception>
/// <exception cref="T:System.Text.DecoderFallbackException">A fallback occurred (see Character Encoding in the .NET Framework for fuller explanation)
/// -and-
/// <see cref="P:System.Text.Encoding.DecoderFallback" /> is set to <see cref="T:System.Text.DecoderExceptionFallback" />.</exception>
// Token: 0x060012E7 RID: 4839 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x60012E7")]
[Address(RVA = "0xF33CD0", Offset = "0xF32CD0", VA = "0x180F33CD0", Slot = "37")]
[ComVisible(false)]
public override string GetString(byte[] bytes, int index, int count)
{
return null;
}
// Token: 0x060012E8 RID: 4840 RVA: 0x0000E9B8 File Offset: 0x0000CBB8
[Token(Token = "0x60012E8")]
[Address(RVA = "0xF323B0", Offset = "0xF313B0", VA = "0x180F323B0", Slot = "15")]
internal unsafe override int GetByteCount(char* chars, int count, EncoderNLS baseEncoder)
{
return 0;
}
// Token: 0x060012E9 RID: 4841 RVA: 0x0000E9D0 File Offset: 0x0000CBD0
[Token(Token = "0x60012E9")]
[Address(RVA = "0xF32970", Offset = "0xF31970", VA = "0x180F32970", Slot = "21")]
internal unsafe override int GetBytes(char* chars, int charCount, byte* bytes, int byteCount, EncoderNLS baseEncoder)
{
return 0;
}
// Token: 0x060012EA RID: 4842 RVA: 0x0000E9E8 File Offset: 0x0000CBE8
[Token(Token = "0x60012EA")]
[Address(RVA = "0xF333A0", Offset = "0xF323A0", VA = "0x180F333A0", Slot = "25")]
internal unsafe override int GetCharCount(byte* bytes, int count, DecoderNLS baseDecoder)
{
return 0;
}
// Token: 0x060012EB RID: 4843 RVA: 0x0000EA00 File Offset: 0x0000CC00
[Token(Token = "0x60012EB")]
[Address(RVA = "0xF333D0", Offset = "0xF323D0", VA = "0x180F333D0", Slot = "30")]
internal unsafe override int GetChars(byte* bytes, int byteCount, char* chars, int charCount, DecoderNLS baseDecoder)
{
return 0;
}
/// <summary>Obtains a decoder that converts a UTF-7 encoded sequence of bytes into a sequence of Unicode characters.</summary>
/// <returns>A <see cref="T:System.Text.Decoder" /> that converts a UTF-7 encoded sequence of bytes into a sequence of Unicode characters.</returns>
// Token: 0x060012EC RID: 4844 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x60012EC")]
[Address(RVA = "0xF33A20", Offset = "0xF32A20", VA = "0x180F33A20", Slot = "32")]
public override global::System.Text.Decoder GetDecoder()
{
return null;
}
/// <summary>Obtains an encoder that converts a sequence of Unicode characters into a UTF-7 encoded sequence of bytes.</summary>
/// <returns>A <see cref="T:System.Text.Encoder" /> that converts a sequence of Unicode characters into a UTF-7 encoded sequence of bytes.</returns>
// Token: 0x060012ED RID: 4845 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x60012ED")]
[Address(RVA = "0xF33A80", Offset = "0xF32A80", VA = "0x180F33A80", Slot = "33")]
public override global::System.Text.Encoder GetEncoder()
{
return null;
}
/// <summary>Calculates the maximum number of bytes produced by encoding the specified number of characters.</summary>
/// <param name="charCount">The number of characters to encode.</param>
/// <returns>The maximum number of bytes produced by encoding the specified number of characters.</returns>
/// <exception cref="T:System.ArgumentOutOfRangeException">
/// <paramref name="charCount" /> is less than zero.
/// -or-
/// The resulting number of bytes is greater than the maximum number that can be returned as an int.</exception>
/// <exception cref="T:System.Text.EncoderFallbackException">A fallback occurred (see Character Encoding in the .NET Framework for complete explanation)
/// -and-
/// <see cref="P:System.Text.Encoding.EncoderFallback" /> is set to <see cref="T:System.Text.EncoderExceptionFallback" />.</exception>
// Token: 0x060012EE RID: 4846 RVA: 0x0000EA18 File Offset: 0x0000CC18
[Token(Token = "0x60012EE")]
[Address(RVA = "0xF33B60", Offset = "0xF32B60", VA = "0x180F33B60", Slot = "34")]
public override int GetMaxByteCount(int charCount)
{
return 0;
}
/// <summary>Calculates the maximum number of characters produced by decoding the specified number of bytes.</summary>
/// <param name="byteCount">The number of bytes to decode.</param>
/// <returns>The maximum number of characters produced by decoding the specified number of bytes.</returns>
/// <exception cref="T:System.ArgumentOutOfRangeException">
/// <paramref name="byteCount" /> is less than zero.
/// -or-
/// The resulting number of characters is greater than the maximum number that can be returned as an int.</exception>
/// <exception cref="T:System.Text.DecoderFallbackException">A fallback occurred (see Character Encoding in the .NET Framework for complete explanation)
/// -and-
/// <see cref="P:System.Text.Encoding.DecoderFallback" /> is set to <see cref="T:System.Text.DecoderExceptionFallback" />.</exception>
// Token: 0x060012EF RID: 4847 RVA: 0x0000EA30 File Offset: 0x0000CC30
[Token(Token = "0x60012EF")]
[Address(RVA = "0xF33C40", Offset = "0xF32C40", VA = "0x180F33C40", Slot = "35")]
public override int GetMaxCharCount(int byteCount)
{
return 0;
}
// Token: 0x0400098D RID: 2445
[global::Cpp2IlInjected.FieldOffset(Offset = "0x38")]
[Token(Token = "0x400098D")]
private byte[] base64Bytes;
// Token: 0x0400098E RID: 2446
[global::Cpp2IlInjected.FieldOffset(Offset = "0x40")]
[Token(Token = "0x400098E")]
private sbyte[] base64Values;
// Token: 0x0400098F RID: 2447
[global::Cpp2IlInjected.FieldOffset(Offset = "0x48")]
[Token(Token = "0x400098F")]
private bool[] directEncode;
// Token: 0x04000990 RID: 2448
[global::Cpp2IlInjected.FieldOffset(Offset = "0x50")]
[Token(Token = "0x4000990")]
[OptionalField]
private bool m_allowOptionals;
// Token: 0x020001E9 RID: 489
[Token(Token = "0x20001E9")]
[Serializable]
private class Decoder : DecoderNLS, ISerializable
{
// Token: 0x060012F0 RID: 4848 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x60012F0")]
[Address(RVA = "0xF2ADF0", Offset = "0xF29DF0", VA = "0x180F2ADF0")]
public Decoder(UTF7Encoding encoding)
{
}
// Token: 0x060012F1 RID: 4849 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x60012F1")]
[Address(RVA = "0xF2A870", Offset = "0xF29870", VA = "0x180F2A870")]
internal Decoder(SerializationInfo info, StreamingContext context)
{
}
// Token: 0x060012F2 RID: 4850 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x60012F2")]
[Address(RVA = "0xF2A790", Offset = "0xF29790", VA = "0x180F2A790", Slot = "13")]
void ISerializable.GetObjectData(SerializationInfo info, StreamingContext context)
{
}
// Token: 0x060012F3 RID: 4851 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x60012F3")]
[Address(RVA = "0xF2A5E0", Offset = "0xF295E0", VA = "0x180F2A5E0", Slot = "4")]
public override void Reset()
{
}
// Token: 0x170001E0 RID: 480
// (get) Token: 0x060012F4 RID: 4852 RVA: 0x0000EA48 File Offset: 0x0000CC48
[Token(Token = "0x170001E0")]
internal override bool HasState
{
[Token(Token = "0x60012F4")]
[Address(RVA = "0xF2AE00", Offset = "0xF29E00", VA = "0x180F2AE00", Slot = "14")]
get
{
return default(bool);
}
}
// Token: 0x04000991 RID: 2449
[global::Cpp2IlInjected.FieldOffset(Offset = "0x30")]
[Token(Token = "0x4000991")]
internal int bits;
// Token: 0x04000992 RID: 2450
[global::Cpp2IlInjected.FieldOffset(Offset = "0x34")]
[Token(Token = "0x4000992")]
internal int bitCount;
// Token: 0x04000993 RID: 2451
[global::Cpp2IlInjected.FieldOffset(Offset = "0x38")]
[Token(Token = "0x4000993")]
internal bool firstByte;
}
// Token: 0x020001EA RID: 490
[Token(Token = "0x20001EA")]
[Serializable]
private class Encoder : EncoderNLS, ISerializable
{
// Token: 0x060012F5 RID: 4853 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x60012F5")]
[Address(RVA = "0xF2B0F0", Offset = "0xF2A0F0", VA = "0x180F2B0F0")]
public Encoder(UTF7Encoding encoding)
{
}
// Token: 0x060012F6 RID: 4854 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x60012F6")]
[Address(RVA = "0xF2AF10", Offset = "0xF29F10", VA = "0x180F2AF10")]
internal Encoder(SerializationInfo info, StreamingContext context)
{
}
// Token: 0x060012F7 RID: 4855 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x60012F7")]
[Address(RVA = "0xF2AE60", Offset = "0xF29E60", VA = "0x180F2AE60", Slot = "11")]
void ISerializable.GetObjectData(SerializationInfo info, StreamingContext context)
{
}
// Token: 0x060012F8 RID: 4856 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x60012F8")]
[Address(RVA = "0xF2AE30", Offset = "0xF29E30", VA = "0x180F2AE30", Slot = "4")]
public override void Reset()
{
}
// Token: 0x170001E1 RID: 481
// (get) Token: 0x060012F9 RID: 4857 RVA: 0x0000EA60 File Offset: 0x0000CC60
[Token(Token = "0x170001E1")]
internal override bool HasState
{
[Token(Token = "0x60012F9")]
[Address(RVA = "0xF2B100", Offset = "0xF2A100", VA = "0x180F2B100", Slot = "12")]
get
{
return default(bool);
}
}
// Token: 0x04000994 RID: 2452
[global::Cpp2IlInjected.FieldOffset(Offset = "0x38")]
[Token(Token = "0x4000994")]
internal int bits;
// Token: 0x04000995 RID: 2453
[global::Cpp2IlInjected.FieldOffset(Offset = "0x3C")]
[Token(Token = "0x4000995")]
internal int bitCount;
}
// Token: 0x020001EB RID: 491
[Token(Token = "0x20001EB")]
[Serializable]
internal sealed class DecoderUTF7Fallback : DecoderFallback
{
// Token: 0x060012FA RID: 4858 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x60012FA")]
[Address(RVA = "0x42BA20", Offset = "0x42AA20", VA = "0x18042BA20")]
public DecoderUTF7Fallback()
{
}
// Token: 0x060012FB RID: 4859 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x60012FB")]
[Address(RVA = "0xF2A500", Offset = "0xF29500", VA = "0x180F2A500", Slot = "4")]
public override DecoderFallbackBuffer CreateFallbackBuffer()
{
return null;
}
// Token: 0x170001E2 RID: 482
// (get) Token: 0x060012FC RID: 4860 RVA: 0x0000EA78 File Offset: 0x0000CC78
[Token(Token = "0x170001E2")]
public override int MaxCharCount
{
[Token(Token = "0x60012FC")]
[Address(RVA = "0x4E8690", Offset = "0x4E7690", VA = "0x1804E8690", Slot = "5")]
get
{
return 0;
}
}
// Token: 0x060012FD RID: 4861 RVA: 0x0000EA90 File Offset: 0x0000CC90
[Token(Token = "0x60012FD")]
[Address(RVA = "0xF2A550", Offset = "0xF29550", VA = "0x180F2A550", Slot = "0")]
public override bool Equals(object value)
{
return default(bool);
}
// Token: 0x060012FE RID: 4862 RVA: 0x0000EAA8 File Offset: 0x0000CCA8
[Token(Token = "0x60012FE")]
[Address(RVA = "0xF2A5A0", Offset = "0xF295A0", VA = "0x180F2A5A0", Slot = "2")]
public override int GetHashCode()
{
return 0;
}
}
// Token: 0x020001EC RID: 492
[Token(Token = "0x20001EC")]
internal sealed class DecoderUTF7FallbackBuffer : DecoderFallbackBuffer
{
// Token: 0x060012FF RID: 4863 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x60012FF")]
[Address(RVA = "0xF2A4F0", Offset = "0xF294F0", VA = "0x180F2A4F0")]
public DecoderUTF7FallbackBuffer(UTF7Encoding.DecoderUTF7Fallback fallback)
{
}
// Token: 0x06001300 RID: 4864 RVA: 0x0000EAC0 File Offset: 0x0000CCC0
[Token(Token = "0x6001300")]
[Address(RVA = "0xF2A3F0", Offset = "0xF293F0", VA = "0x180F2A3F0", Slot = "4")]
public override bool Fallback(byte[] bytesUnknown, int index)
{
return default(bool);
}
// Token: 0x06001301 RID: 4865 RVA: 0x0000EAD8 File Offset: 0x0000CCD8
[Token(Token = "0x6001301")]
[Address(RVA = "0xF2A440", Offset = "0xF29440", VA = "0x180F2A440", Slot = "5")]
public override char GetNextChar()
{
return '\0';
}
// Token: 0x170001E3 RID: 483
// (get) Token: 0x06001302 RID: 4866 RVA: 0x0000EAF0 File Offset: 0x0000CCF0
[Token(Token = "0x170001E3")]
public override int Remaining
{
[Token(Token = "0x6001302")]
[Address(RVA = "0xD2DFC0", Offset = "0xD2CFC0", VA = "0x180D2DFC0", Slot = "6")]
get
{
return 0;
}
}
// Token: 0x06001303 RID: 4867 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6001303")]
[Address(RVA = "0xD2DB80", Offset = "0xD2CB80", VA = "0x180D2DB80", Slot = "7")]
public override void Reset()
{
}
// Token: 0x06001304 RID: 4868 RVA: 0x0000EB08 File Offset: 0x0000CD08
[Token(Token = "0x6001304")]
[Address(RVA = "0xF2A460", Offset = "0xF29460", VA = "0x180F2A460", Slot = "9")]
internal unsafe override int InternalFallback(byte[] bytes, byte* pBytes)
{
return 0;
}
// Token: 0x04000996 RID: 2454
[global::Cpp2IlInjected.FieldOffset(Offset = "0x20")]
[Token(Token = "0x4000996")]
private char cFallback;
// Token: 0x04000997 RID: 2455
[global::Cpp2IlInjected.FieldOffset(Offset = "0x24")]
[Token(Token = "0x4000997")]
private int iCount;
// Token: 0x04000998 RID: 2456
[global::Cpp2IlInjected.FieldOffset(Offset = "0x28")]
[Token(Token = "0x4000998")]
private int iSize;
}
}
}