Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
Blob.cs
Go to the documentation of this file.
2
3public 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
21 {
23 }
24}
Blob(byte[] buffer, int start, int length)
Definition Blob.cs:13
readonly byte[] Buffer
Definition Blob.cs:5
ArraySegment< byte > GetBytes()
Definition Blob.cs:20