using System; using System.Collections.Generic; namespace HC_APTBS.Infrastructure.Kwp.Packets { public class CustomPacket : Packet { public CustomPacket(List bytes) : base(bytes) { // Dump(); } private void Dump() { System.Diagnostics.Debug.Write("Received Custom packet:"); for (var i = 3; i < Bytes.Count - 1; i++) { System.Diagnostics.Debug.Write($" {Bytes[i]:X2}"); } System.Diagnostics.Debug.WriteLine(""); } } }