5 references to CreateReadOnlySpanFromNullTerminated
System.DirectoryServices.Protocols (1)
System\DirectoryServices\Protocols\Interop\LdapPal.Linux.cs (1)
131
bv_len = new CLong(MemoryMarshal.
CreateReadOnlySpanFromNullTerminated
((byte*)passwordPtr).Length),
System.Net.Security (1)
src\libraries\Common\src\Interop\Unix\System.Security.Cryptography.Native\Interop.OpenSsl.cs (1)
1006
ReadOnlySpan<byte> data = MemoryMarshal.
CreateReadOnlySpanFromNullTerminated
((byte*)line);
System.Private.CoreLib (3)
src\libraries\Common\src\Interop\Unix\System.Native\Interop.ReadDir.cs (1)
38
? MemoryMarshal.
CreateReadOnlySpanFromNullTerminated
(Name)
src\System\Reflection\MdImport.cs (2)
619
importName = Text.Encoding.UTF8.GetString(MemoryMarshal.
CreateReadOnlySpanFromNullTerminated
(importNameRaw));
620
importDll = Text.Encoding.UTF8.GetString(MemoryMarshal.
CreateReadOnlySpanFromNullTerminated
(importDllRaw));