コード例 #1
0
ファイル: SniffFile.cs プロジェクト: usernel/WowPacketParser
        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);
            }
        }
コード例 #2
0
 private void SplitBinaryDump(ICollection <Packet> packets)
 {
     Trace.WriteLine($"{_logPrefix}: Splitting {packets.Count} packets to multiple files...");
     SplitBinaryPacketWriter.Write(packets, Encoding.ASCII);
 }
コード例 #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);
 }