112 if (bytes !=
null &&
s !=
null)
119 return "Index was out of range. Must be non-negative and less than the size of the collection.";
125 if (bytes !=
null && chars !=
null)
133 return "Index was out of range. Must be non-negative and less than the size of the collection.";
170 while (bytes ==
null)
186 return "Array cannot be null.";
192 if (chars !=
null && bytes !=
null)
198 return "Index was out of range. Must be non-negative and less than the size of the collection.";
235 while (bytes ==
null ||
count == 0)
325 if (num == 0
L || num != 0
L)
441 return "Non-negative number required.";
449 return "Non-negative number required.";
class f__AnonymousType0<< Count > j__TPar
static int OffsetToStringData
static DecoderFallback ExceptionFallback
DecoderFallbackBuffer _fallbackBuffer
static EncoderFallback ExceptionFallback
EncoderFallback encoderFallback
DecoderFallback decoderFallback
Decoder(UnicodeEncoding encoding)
override void SetDefaultFallbacks()
override int GetCharCount(byte[] bytes, int index, int count)
static readonly ulong highLowPatternMask
override byte[] GetPreamble()
unsafe override int GetCharCount(byte *bytes, int count, DecoderNLS baseDecoder)
unsafe override int GetChars(byte *bytes, int byteCount, char *chars, int charCount, DecoderNLS baseDecoder)
unsafe override int GetBytes(char *chars, int charCount, byte *bytes, int byteCount, EncoderNLS encoder)
UnicodeEncoding(bool bigEndian, bool byteOrderMark, bool throwOnInvalidBytes)
unsafe override int GetByteCount(char *chars, int count, EncoderNLS encoder)
unsafe override int GetByteCount(char *chars, int count)
override ReadOnlySpan< byte > Preamble
override Encoder GetEncoder()
unsafe override int GetChars(byte *bytes, int byteCount, char *chars, int charCount)
static readonly UnicodeEncoding s_littleEndianDefault
static readonly byte[] s_littleEndianPreamble
unsafe override int GetCharCount(byte *bytes, int count)
override int GetByteCount(string s)
override int GetHashCode()
static readonly byte[] s_bigEndianPreamble
static readonly UnicodeEncoding s_bigEndianDefault
override int GetChars(byte[] bytes, int byteIndex, int byteCount, char[] chars, int charIndex)
override string GetString(byte[] bytes, int index, int count)
UnicodeEncoding(bool bigEndian, bool byteOrderMark)
override int GetBytes(char[] chars, int charIndex, int charCount, byte[] bytes, int byteIndex)
override int GetMaxCharCount(int byteCount)
override int GetBytes(string s, int charIndex, int charCount, byte[] bytes, int byteIndex)
override int GetMaxByteCount(int charCount)
override int GetByteCount(char[] chars, int index, int count)
override global::System.Text.Decoder GetDecoder()
override bool Equals(object value)
unsafe override int GetBytes(char *chars, int charCount, byte *bytes, int byteCount)