Example #1
0
 internal ToxData(byte[] data)
 {
     _data      = data;
     _encrypted = ToxEncryptionFunctions.IsDataEncrypted(data) == 1;
 }
Example #2
0
 public ToxData([NotNull] byte[] data)
 {
     this.bytes       = data;
     this.IsEncrypted = ToxEncryptionFunctions.IsDataEncrypted(data);
 }
Example #3
0
 private ToxData(byte[] data)
 {
     _data      = data;
     _encrypted = ToxEncryptionFunctions.IsDataEncrypted(data);
 }