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: 0x020001BC RID: 444
|
|
[Token(Token = "0x20001BC")]
|
|
[ComVisible(true)]
|
|
[Serializable]
|
|
public class ASCIIEncoding : Encoding
|
|
{
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.Text.ASCIIEncoding" /> class.</summary>
|
|
// 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()
|
|
{
|
|
}
|
|
|
|
/// <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: 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;
|
|
}
|
|
|
|
/// <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: 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;
|
|
}
|
|
|
|
/// <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: 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;
|
|
}
|
|
|
|
/// <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: 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;
|
|
}
|
|
|
|
/// <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: 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;
|
|
}
|
|
|
|
/// <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: 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;
|
|
}
|
|
|
|
/// <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: 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;
|
|
}
|
|
|
|
/// <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: 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;
|
|
}
|
|
|
|
/// <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: 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;
|
|
}
|
|
|
|
/// <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: 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;
|
|
}
|
|
|
|
/// <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: 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;
|
|
}
|
|
|
|
/// <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: 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;
|
|
}
|
|
|
|
/// <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: 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;
|
|
}
|
|
|
|
/// <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: 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;
|
|
}
|
|
|
|
/// <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: 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;
|
|
}
|
|
}
|
|
}
|