Terraria
v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
Blob.cs
Go to the documentation of this file.
1
namespace
System.Reflection.Metadata
;
2
3
public
readonly
struct
Blob
4
{
5
internal
readonly
byte
[]
Buffer
;
6
7
internal
readonly
int
Start
;
8
9
public
int
Length
{
get
; }
10
11
public
bool
IsDefault
=>
Buffer
==
null
;
12
13
internal
Blob
(
byte
[]
buffer
,
int
start
,
int
length
)
14
{
15
Buffer
=
buffer
;
16
Start
=
start
;
17
Length
=
length
;
18
}
19
20
public
ArraySegment<byte>
GetBytes
()
21
{
22
return
new
ArraySegment<byte>
(
Buffer
,
Start
,
Length
);
23
}
24
}
System.Buffer
Definition
Buffer.cs:8
System.Reflection.Metadata
Definition
AssemblyExtensions.cs:4
System.ExceptionArgument.length
@ length
System.ExceptionArgument.buffer
@ buffer
System.ExceptionArgument.start
@ start
System.ArraySegment
Definition
ArraySegment.cs:11
System.Reflection.Metadata.Blob.Start
readonly int Start
Definition
Blob.cs:7
System.Reflection.Metadata.Blob.Length
int Length
Definition
Blob.cs:9
System.Reflection.Metadata.Blob.Blob
Blob(byte[] buffer, int start, int length)
Definition
Blob.cs:13
System.Reflection.Metadata.Blob.IsDefault
bool IsDefault
Definition
Blob.cs:11
System.Reflection.Metadata.Blob.Buffer
readonly byte[] Buffer
Definition
Blob.cs:5
System.Reflection.Metadata.Blob.GetBytes
ArraySegment< byte > GetBytes()
Definition
Blob.cs:20
System.Reflection.Metadata.Blob
Definition
Blob.cs:4
source
System.Reflection.Metadata
System.Reflection.Metadata
Blob.cs
Generated by
1.10.0