391 lines
23 KiB
C#
391 lines
23 KiB
C#
using System;
|
|
using System.Runtime.InteropServices;
|
|
using Cpp2IlInjected;
|
|
|
|
namespace System.Text
|
|
{
|
|
/// <summary>Represents an ASCII character encoding of Unicode characters.</summary>
|
|
// Token: 0x020001C3 RID: 451
|
|
[Token(Token = "0x20001C3")]
|
|
[ComVisible(true)]
|
|
[Serializable]
|
|
public class ASCIIEncoding : Encoding
|
|
{
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.Text.ASCIIEncoding" /> class.</summary>
|
|
// 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()
|
|
{
|
|
}
|
|
|
|
/// <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" />.</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 integer.</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: 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;
|
|
}
|
|
|
|
/// <summary>Calculates the number of bytes produced by encoding the characters in the specified <see cref="T:System.String" />.</summary>
|
|
/// <param name="chars">The <see cref="T:System.String" /> 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="chars" /> is <see langword="null" />.</exception>
|
|
/// <exception cref="T:System.ArgumentOutOfRangeException">The resulting number of bytes is greater than the maximum number that can be returned as an integer.</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: 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;
|
|
}
|
|
|
|
/// <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" />.</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 integer.</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: 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;
|
|
}
|
|
|
|
/// <summary>Encodes a set of characters from the specified <see cref="T:System.String" /> into the specified byte array.</summary>
|
|
/// <param name="chars">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" />.
|
|
/// -or-
|
|
/// <paramref name="bytes" /> is <see langword="null" />.</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 complete explanation)
|
|
/// -and-
|
|
/// <see cref="P:System.Text.Encoding.EncoderFallback" /> is set to <see cref="T:System.Text.EncoderExceptionFallback" />.</exception>
|
|
// 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;
|
|
}
|
|
|
|
/// <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" />.
|
|
/// -or-
|
|
/// <paramref name="bytes" /> is <see langword="null" />.</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 complete explanation)
|
|
/// -and-
|
|
/// <see cref="P:System.Text.Encoding.EncoderFallback" /> is set to <see cref="T:System.Text.EncoderExceptionFallback" />.</exception>
|
|
// 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;
|
|
}
|
|
|
|
/// <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" />.
|
|
/// -or-
|
|
/// <paramref name="bytes" /> is <see langword="null" />.</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 complete explanation)
|
|
/// -and-
|
|
/// <see cref="P:System.Text.Encoding.EncoderFallback" /> is set to <see cref="T:System.Text.EncoderExceptionFallback" />.</exception>
|
|
// 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;
|
|
}
|
|
|
|
/// <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" />.</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 bytes is greater than the maximum number that can be returned as an integer.</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: 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;
|
|
}
|
|
|
|
/// <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" />.</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 integer.</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: 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;
|
|
}
|
|
|
|
/// <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" />.
|
|
/// -or-
|
|
/// <paramref name="chars" /> is <see langword="null" />.</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: 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;
|
|
}
|
|
|
|
/// <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" />.
|
|
/// -or-
|
|
/// <paramref name="chars" /> is <see langword="null" />.</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: 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;
|
|
}
|
|
|
|
/// <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="byteIndex">The index of the first byte to decode.</param>
|
|
/// <param name="byteCount">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" />.</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 complete explanation)
|
|
/// -and-
|
|
/// <see cref="P:System.Text.Encoding.DecoderFallback" /> is set to <see cref="T:System.Text.DecoderExceptionFallback" />.</exception>
|
|
// 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;
|
|
}
|
|
|
|
/// <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 integer.</exception>
|
|
// 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;
|
|
}
|
|
|
|
/// <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 bytes is greater than the maximum number that can be returned as an integer.</exception>
|
|
// 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;
|
|
}
|
|
|
|
/// <summary>Obtains a decoder that converts an ASCII encoded sequence of bytes into a sequence of Unicode characters.</summary>
|
|
/// <returns>A <see cref="T:System.Text.Decoder" /> that converts an ASCII encoded sequence of bytes into a sequence of Unicode characters.</returns>
|
|
// 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;
|
|
}
|
|
|
|
/// <summary>Obtains an encoder that converts a sequence of Unicode characters into an ASCII encoded sequence of bytes.</summary>
|
|
/// <returns>An <see cref="T:System.Text.Encoder" /> that converts a sequence of Unicode characters into an ASCII encoded sequence of bytes.</returns>
|
|
// 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;
|
|
}
|
|
}
|
|
}
|