Terraria
v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
◆
CircularCopy()
[2/2]
static void System.Security.Cryptography.Pkcs.Pkcs12Kdf.CircularCopy
(
ReadOnlySpan
< byte >
bytes
,
Span
< byte >
destination
)
inline
static
private
Definition at line
126
of file
Pkcs12Kdf.cs
.
127
{
128
while
(
destination
.Length > 0)
129
{
130
if
(
destination
.Length >=
bytes
.Length)
131
{
132
bytes
.CopyTo(
destination
);
133
destination
=
destination
.Slice(
bytes
.Length);
134
continue
;
135
}
136
bytes
.Slice(0,
destination
.Length).CopyTo(
destination
);
137
break
;
138
}
139
}
System.ExceptionArgument.bytes
@ bytes
System.ExceptionArgument.destination
@ destination
References
System.bytes
, and
System.destination
.
System
Security
Cryptography
Pkcs
Pkcs12Kdf
Generated by
1.10.0