Base:
method
GetBytes
System.Text.Encoding.GetBytes(System.ReadOnlySpan<System.Char>, System.Span<System.Byte>)
3 references to GetBytes
Microsoft.Extensions.Caching.Hybrid (1)
Internal\DefaultHybridCache.StampedeStateT.cs (1)
605byteBuffer = byteBuffer.Slice(0, HybridCachePayload.Encoding.GetBytes(value.AsSpan(), byteBuffer));
System.Security.Cryptography (1)
System\Security\Cryptography\Rfc2898DeriveBytes.OneShot.cs (1)
284int passwordBytesWritten = s_throwingUtf8Encoding.GetBytes(password, passwordBuffer);
System.Text.Json (1)
System\Text\Json\Reader\JsonReaderHelper.Unescaping.cs (1)
396return s_utf8Encoding.GetBytes(text, dest);