Terraria
v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
◆
TryWriteBytes()
[10/11]
static
bool
System.BitConverter.TryWriteBytes
(
Span
< byte >
destination
,
ulong
value
)
inline
static
Definition at line
144
of file
BitConverter.cs
.
145
{
146
if
(
destination
.Length < 8)
147
{
148
return
false
;
149
}
150
Unsafe
.WriteUnaligned(ref
MemoryMarshal
.GetReference(
destination
),
value
);
151
return
true
;
152
}
Internal.Runtime.CompilerServices.Unsafe
Definition
Unsafe.cs:10
System.Runtime.InteropServices.MemoryMarshal
Definition
MemoryMarshal.cs:11
System.ExceptionArgument.value
@ value
System.ExceptionArgument.destination
@ destination
References
System.destination
, and
System.value
.
System
BitConverter
Generated by
1.10.0