Exemple #1
0
        private void SplitBinaryDump()
        {
            Trace.WriteLine(string.Format("{0}: Splitting {1} packets to multiple files...", _logPrefix, _packets.Count));

            try
            {
                SplitBinaryPacketWriter.Write(_packets, Encoding.ASCII);
            }
            catch (Exception ex)
            {
                Trace.WriteLine(ex.GetType());
                Trace.WriteLine(ex.Message);
                Trace.WriteLine(ex.StackTrace);
            }
        }
 private void SplitBinaryDump(ICollection <Packet> packets)
 {
     Trace.WriteLine($"{_logPrefix}: Splitting {packets.Count} packets to multiple files...");
     SplitBinaryPacketWriter.Write(packets, Encoding.ASCII);
 }
Exemple #3
0
 private void SplitBinaryDump(ICollection <Packet> packets)
 {
     Trace.WriteLine(string.Format("{0}: Splitting {1} packets to multiple files...", _logPrefix, packets.Count));
     SplitBinaryPacketWriter.Write(packets, Encoding.ASCII);
 }