Terraria
v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
◆
CreateReadOnlySpanFromNullTerminated()
[1/2]
static unsafe
ReadOnlySpan
< byte > System.Runtime.InteropServices.MemoryMarshal.CreateReadOnlySpanFromNullTerminated
(
byte *
value
)
inline
static
Definition at line
166
of file
MemoryMarshal.cs
.
167
{
168
if
(
value
==
null
)
169
{
170
return
default
(
ReadOnlySpan<byte>
);
171
}
172
return
new
ReadOnlySpan<byte>
(
value
,
string
.strlen(
value
));
173
}
System.Collections.Generic.Dictionary
Definition
Dictionary.cs:14
System.ExceptionArgument.value
@ value
References
System.value
.
System
Runtime
InteropServices
MemoryMarshal
Generated by
1.10.0