Terraria
v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
CRYPT_BIT_BLOB.cs
Go to the documentation of this file.
1
using
System
;
2
using
System.Runtime.InteropServices
;
3
4
namespace
Internal.Cryptography.Pal.Native
;
5
6
internal
struct
CRYPT_BIT_BLOB
7
{
8
public
int
cbData
;
9
10
public
unsafe
byte
*
pbData
;
11
12
public
int
cUnusedBits
;
13
14
public
unsafe
byte
[]
ToByteArray
()
15
{
16
if
(
cbData
== 0)
17
{
18
return
Array
.Empty<
byte
>();
19
}
20
byte
[]
array
=
new
byte
[
cbData
];
21
Marshal
.
Copy
((
IntPtr
)
pbData
,
array
, 0,
cbData
);
22
return
array
;
23
}
24
}
System.Array
Definition
Array.cs:16
System.Runtime.InteropServices.Marshal.Copy
static void Copy(int[] source, int startIndex, IntPtr destination, int length)
Definition
Marshal.cs:800
System.Runtime.InteropServices.Marshal
Definition
Marshal.cs:14
Internal.Cryptography.Pal.Native
Definition
CERT_BASIC_CONSTRAINTS2_INFO.cs:1
System.Runtime.InteropServices
Definition
SequenceMarshal.cs:4
System.ExceptionArgument.array
@ array
System
Definition
BlockingCollection.cs:8
Internal.Cryptography.Pal.Native.CRYPT_BIT_BLOB.ToByteArray
unsafe byte[] ToByteArray()
Definition
CRYPT_BIT_BLOB.cs:14
Internal.Cryptography.Pal.Native.CRYPT_BIT_BLOB.cUnusedBits
int cUnusedBits
Definition
CRYPT_BIT_BLOB.cs:12
Internal.Cryptography.Pal.Native.CRYPT_BIT_BLOB.cbData
int cbData
Definition
CRYPT_BIT_BLOB.cs:8
Internal.Cryptography.Pal.Native.CRYPT_BIT_BLOB.pbData
unsafe byte * pbData
Definition
CRYPT_BIT_BLOB.cs:10
Internal.Cryptography.Pal.Native.CRYPT_BIT_BLOB
Definition
CRYPT_BIT_BLOB.cs:7
System.IntPtr
Definition
IntPtr.cs:14
source
System.Security.Cryptography.X509Certificates
Internal.Cryptography.Pal.Native
CRYPT_BIT_BLOB.cs
Generated by
1.10.0