Base:
method
GetBytes
System.Text.Encoding.GetBytes(System.String, System.Int32, System.Int32, System.Byte[], System.Int32)
3 references to GetBytes
Microsoft.AspNetCore.DataProtection (1)
KeyManagement\KeyRingBasedDataProtector.cs (1)
403
index += EncodingUtil.SecureUtf8Encoding.
GetBytes
(purpose, charIndex: 0, charCount: purpose.Length, bytes: targetArr, byteIndex: index);
Microsoft.Extensions.Caching.Hybrid (1)
Internal\HybridCachePayload.cs (1)
166
offset += Encoding.
GetBytes
(value, 0, value.Length, target, offset);
System.Net.WebSockets (1)
System\Net\WebSockets\ManagedWebSocket.cs (1)
1526
int encodedLength = s_textEncoding.
GetBytes
(closeStatusDescription, 0, closeStatusDescription.Length, buffer, 2);