Terraria
v1.4.4.9
Terraria source code documentation
Toggle main menu visibility
Main Page
Namespaces
Namespace List
Namespace Members
All
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Functions
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
u
v
w
x
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
Properties
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Events
_
a
c
d
e
f
i
l
m
o
p
r
s
t
u
w
Files
File List
File Members
All
Enumerations
Macros
•
All
Classes
Namespaces
Files
Functions
Variables
Enumerations
Enumerator
Properties
Events
Macros
Loading...
Searching...
No Matches
ExternalMemoryBlock.cs
Go to the documentation of this file.
1
namespace
System.Reflection.Internal
;
2
3
internal
sealed
class
ExternalMemoryBlock
:
AbstractMemoryBlock
4
{
5
private
readonly
object
_memoryOwner
;
6
7
private
unsafe
byte
*
_buffer
;
8
9
private
int
_size
;
10
11
public
unsafe
override
byte
*
Pointer
=>
_buffer
;
12
13
public
override
int
Size
=>
_size
;
14
15
public
unsafe
ExternalMemoryBlock
(
object
memoryOwner,
byte
*
buffer
,
int
size)
16
{
17
_memoryOwner
= memoryOwner;
18
_buffer
=
buffer
;
19
_size
= size;
20
}
15
public
unsafe
ExternalMemoryBlock
(
object
memoryOwner,
byte
*
buffer
,
int
size) {
…
}
21
22
public
unsafe
override
void
Dispose
()
23
{
24
_buffer
=
null
;
25
_size
= 0;
26
}
22
public
unsafe
override
void
Dispose
() {
…
}
27
}
3
internal
sealed
class
ExternalMemoryBlock
:
AbstractMemoryBlock
{
…
};
System.Reflection.Internal.AbstractMemoryBlock
Definition
AbstractMemoryBlock.cs:7
System.Reflection.Internal.ExternalMemoryBlock.ExternalMemoryBlock
unsafe ExternalMemoryBlock(object memoryOwner, byte *buffer, int size)
Definition
ExternalMemoryBlock.cs:15
System.Reflection.Internal.ExternalMemoryBlock._memoryOwner
readonly object _memoryOwner
Definition
ExternalMemoryBlock.cs:5
System.Reflection.Internal.ExternalMemoryBlock._size
int _size
Definition
ExternalMemoryBlock.cs:9
System.Reflection.Internal.ExternalMemoryBlock.Size
override int Size
Definition
ExternalMemoryBlock.cs:13
System.Reflection.Internal.ExternalMemoryBlock._buffer
unsafe byte * _buffer
Definition
ExternalMemoryBlock.cs:7
System.Reflection.Internal.ExternalMemoryBlock.Dispose
unsafe override void Dispose()
Definition
ExternalMemoryBlock.cs:22
System.Reflection.Internal.ExternalMemoryBlock
Definition
ExternalMemoryBlock.cs:4
System.Reflection.Pointer
Definition
Pointer.cs:8
System.Reflection.Internal
Definition
AbstractMemoryBlock.cs:4
System.ExceptionArgument.buffer
@ buffer
source
System.Reflection.Metadata
System.Reflection.Internal
ExternalMemoryBlock.cs
Generated by
1.10.0