Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
SecurityBuffer.cs
Go to the documentation of this file.
2
3namespace System.Net.Security;
4
5[StructLayout(LayoutKind.Auto)]
6internal struct SecurityBuffer
7{
8 public int offset;
9
10 public int size;
11
13
14 public byte[] token;
15
17
18 public SecurityBuffer(byte[] data, System.Net.Security.SecurityBufferType tokentype)
19 {
20 offset = 0;
21 size = ((data != null) ? data.Length : 0);
22 type = tokentype;
23 token = ((size == 0) ? null : data);
24 unmanagedToken = null;
25 }
26}
System.Net.Security.SecurityBufferType type
SecurityBuffer(byte[] data, System.Net.Security.SecurityBufferType tokentype)