Beispiel #1
0
 public PK7(byte[] decryptedData)
 {
     Data = decryptedData;
     PKMConverter.CheckEncrypted(ref Data, Format);
     if (Data.Length != SIZE_PARTY)
         Array.Resize(ref Data, SIZE_PARTY);
 }
Beispiel #2
0
 public PB7(byte[] decryptedData)
 {
     Data = decryptedData;
     PKMConverter.CheckEncrypted(ref Data, 7);
     if (Data.Length != SIZE)
     {
         Array.Resize(ref Data, SIZE);
     }
 }
Beispiel #3
0
 public PK4(byte[] decryptedData = null, string ident = null)
 {
     Data = decryptedData ?? new byte[SIZE_PARTY];
     PKMConverter.CheckEncrypted(ref Data);
     Identifier = ident;
     if (Data.Length != SIZE_PARTY)
     {
         Array.Resize(ref Data, SIZE_PARTY);
     }
 }
Beispiel #4
0
 public PB7(byte[] decryptedData, string ident = null)
 {
     Data = decryptedData;
     PKMConverter.CheckEncrypted(ref Data, 7);
     Identifier = ident;
     if (Data.Length != SIZE)
     {
         Array.Resize(ref Data, SIZE);
     }
 }