Пример #1
0
 private void ReadCreditStruct29a(SafeBufferedFile file, CreditStruct newcstruct)
 {
     file.Read(newcstruct.abyKey);
     newcstruct.nUploadedLo   = file.ReadUInt32(); // uploaded TO him
     newcstruct.nDownloadedLo = file.ReadUInt32(); // downloaded from him
     newcstruct.nLastSeen     = file.ReadUInt32();
     newcstruct.nUploadedHi   = file.ReadUInt32(); // upload high 32
     newcstruct.nDownloadedHi = file.ReadUInt32(); // download high 32
     newcstruct.nReserved3    = file.ReadUInt16();
 }
Пример #2
0
 private void ReadCreditStruct(SafeBufferedFile file, CreditStruct newcstruct)
 {
     ReadCreditStruct29a(file, newcstruct);
     newcstruct.nKeySize = file.ReadUInt8();
     file.Read(newcstruct.abySecureIdent, 0, (int)CreditStruct.MAXPUBKEYSIZE);
 }