Terraria
v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
◆
GetNonNullPinnableReference()
[2/2]
static unsafe ref byte System.Security.Cryptography.AeadCommon.GetNonNullPinnableReference
(
Span
< byte >
buffer
)
inline
static
private
Definition at line
113
of file
AeadCommon.cs
.
114
{
115
if
(
buffer
.Length == 0)
116
{
117
return
ref
Unsafe
.AsRef<
byte
>((
void
*)1);
118
}
119
return
ref
MemoryMarshal
.GetReference(
buffer
);
120
}
System.Runtime.CompilerServices.Unsafe
Definition
Unsafe.cs:6
System.Runtime.InteropServices.MemoryMarshal
Definition
MemoryMarshal.cs:11
System.ExceptionArgument.buffer
@ buffer
References
System.buffer
.
System
Security
Cryptography
AeadCommon
Generated by
1.10.0