111 if (bytes !=
null &&
s !=
null)
118 return "Index was out of range. Must be non-negative and less than the size of the collection.";
124 if (bytes !=
null && chars !=
null)
132 return "Index was out of range. Must be non-negative and less than the size of the collection.";
169 while (bytes ==
null)
209 if (chars !=
null && bytes !=
null)
215 return "Index was out of range. Must be non-negative and less than the size of the collection.";
252 while (bytes ==
null ||
count == 0)
385 byte value = bytes->m_value;
421 byte value = bytes->m_value;
538 return "Non-negative number required.";
546 return "Non-negative number required.";
class f__AnonymousType0<< Count > j__TPar
static int OffsetToStringData
static DecoderFallback ExceptionFallback
DecoderFallbackBuffer _fallbackBuffer
static EncoderFallback ExceptionFallback
EncoderFallbackBuffer _fallbackBuffer
EncoderFallback encoderFallback
DecoderFallback decoderFallback
UTF8Decoder(UTF8Encoding encoding)
UTF8Encoder(UTF8Encoding encoding)
UTF8EncodingSealed(bool encoderShouldEmitUTF8Identifier)
override ReadOnlySpan< byte > Preamble
static unsafe int PtrDiff(byte *a, byte *b)
override string GetString(byte[] bytes, int index, int count)
unsafe override int GetCharCount(byte *bytes, int count, DecoderNLS baseDecoder)
override int GetBytes(char[] chars, int charIndex, int charCount, byte[] bytes, int byteIndex)
override int GetByteCount(string chars)
override int GetCharCount(byte[] bytes, int index, int count)
UTF8Encoding(bool encoderShouldEmitUTF8Identifier, bool throwOnInvalidBytes)
unsafe byte[] GetBytesUnknown(byte *pSrc, int ch)
unsafe override int GetBytes(char *chars, int charCount, byte *bytes, int byteCount)
static bool InRange(int ch, int start, int end)
override byte[] GetPreamble()
override int GetMaxByteCount(int charCount)
unsafe override int GetByteCount(char *chars, int count)
unsafe bool FallbackInvalidByteSequence(byte *pSrc, int ch, DecoderFallbackBuffer fallback, char *pTarget)
readonly bool _emitUTF8Identifier
unsafe override int GetChars(byte *bytes, int byteCount, char *chars, int charCount)
unsafe override int GetByteCount(char *chars, int count, EncoderNLS baseEncoder)
override int GetMaxCharCount(int byteCount)
unsafe override int GetChars(byte *bytes, int byteCount, char *chars, int charCount, DecoderNLS baseDecoder)
override Decoder GetDecoder()
override int GetByteCount(char[] chars, int index, int count)
override int GetHashCode()
override ReadOnlySpan< byte > Preamble
override int GetChars(byte[] bytes, int byteIndex, int byteCount, char[] chars, int charIndex)
UTF8Encoding(bool encoderShouldEmitUTF8Identifier)
static readonly byte[] s_preamble
unsafe override int GetBytes(char *chars, int charCount, byte *bytes, int byteCount, EncoderNLS baseEncoder)
override void SetDefaultFallbacks()
override Encoder GetEncoder()
static unsafe int PtrDiff(char *a, char *b)
unsafe int FallbackInvalidByteSequence(byte *pSrc, int ch, DecoderFallbackBuffer fallback)
static readonly UTF8Encoding.UTF8EncodingSealed s_default
override bool Equals(object value)
unsafe override int GetCharCount(byte *bytes, int count)
override int GetBytes(string s, int charIndex, int charCount, byte[] bytes, int byteIndex)