Terraria
v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
◆
WriteByte()
[2/3]
static unsafe void System.Runtime.InteropServices.Marshal.WriteByte
(
IntPtr
ptr
,
int
ofs
,
byte
val
)
inline
static
Definition at line
1013
of file
Marshal.cs
.
1014
{
1015
try
1016
{
1017
byte
* ptr2 = (
byte
*)(
void
*)ptr + ofs;
1018
*ptr2 = val;
1019
}
1020
catch
(NullReferenceException)
1021
{
1022
throw
new
AccessViolationException();
1023
}
1024
}
System
Runtime
InteropServices
Marshal
Generated by
1.10.0