Пример #1
0
 public virtual void WriteData(FastBinaryWriter writer, Object additionalInfo)
 {
     writer.Write(SessionId);
     writer.Write(DestinationBinding);
     writer.WriteByteArray(EncryptedKey);
     writer.WriteByteArray(EncryptedIV);
     writer.WriteSafeString(CertificateThumbprint);
     writer.Write(RequestId);
     writer.Write(SequenceCount);
     writer.Write(DecompressedLength);
 }
Пример #2
0
 public virtual void WriteData(FastBinaryWriter writer, Object additionalInfo)
 {
     writer.Write(SessionId);
     writer.Write(RequestId);
     writer.Write(Sequence);
     writer.WriteByteArray(Chunk);
 }
Пример #3
0
        public override void WriteData(FastBinaryWriter writer, Object additionalInfo)
        {
            base.WriteData(writer, additionalInfo);

            writer.Write(SerializedVersionHelper.CurrentBinFileVersion);
            writer.WriteByteArray(Signature);
            writer.Write(Id);
            writer.Write(FInitDateTime);
            writer.Write(FFirstDateTime);
            writer.Write(FLastDateTime);
            writer.Write(FNextSequenceId);
            writer.Write(FMessageCount);
        }
Пример #4
0
 /// <summary>
 /// Writes the data.
 /// </summary>
 /// <param name="writer">The writer.</param>
 /// <param name="additionalInfo">The additional information.</param>
 public void WriteData(FastBinaryWriter writer, object additionalInfo)
 {
     writer.WriteByteArray(Nonce.Key);
     writer.WriteByteArray(Nonce.IV);
 }
 public virtual void WriteData(FastBinaryWriter writer, Object additionalInfo)
 {
     writer.WriteByteArray(FData);
 }