Terraria
v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
◆
ToByteArray()
static byte[] Terraria.Utils.ToByteArray
(
this
string
str
)
inline
static
Definition at line
793
of file
Utils.cs
.
794
{
795
byte
[]
array
=
new
byte
[str.Length * 2];
796
Buffer
.BlockCopy(
str
.ToCharArray(), 0,
array
, 0,
array
.Length);
797
return
array
;
798
}
System.ExceptionArgument.str
@ str
System.ExceptionArgument.array
@ array
System.Linq.Buffer
Definition
Buffer.cs:6
References
System.array
, and
System.str
.
Terraria
Utils
Generated by
1.10.0