Terraria
v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
◆
GetStringFromFixedBuffer()
static unsafe
string
System.FixedBufferExtensions.GetStringFromFixedBuffer
(
this
ReadOnlySpan
< char >
span
)
inline
static
package
Definition at line
7
of file
FixedBufferExtensions.cs
.
8
{
9
fixed (
char
*
value
= &
MemoryMarshal
.GetReference(span))
10
{
11
return
new
string
(
value
, 0, span.GetFixedBufferStringLength());
12
}
13
}
System.Runtime.InteropServices.MemoryMarshal
Definition
MemoryMarshal.cs:11
string
System.ExceptionArgument.value
@ value
References
System.value
.
System
FixedBufferExtensions
Generated by
1.10.0