Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ ToArray()

unsafe? byte[] System.Reflection.Internal.MemoryBlock.ToArray ( )
inlinepackage

Definition at line 53 of file MemoryBlock.cs.

54 {
55 if (Pointer != null)
56 {
57 return PeekBytes(0, Length);
58 }
59 return null;
60 }
unsafe byte[] PeekBytes(int offset, int byteCount)

References System.Reflection.Internal.MemoryBlock.Length, and System.Reflection.Internal.MemoryBlock.PeekBytes().

Referenced by System.Reflection.Metadata.MethodBodyBlock.GetILBytes().