175176177178179180181182183184185
b.mark(4); ByteOrder order = PcapInputCapture.checkFormat(b); b.reset(); return t.cast(new PcapInputCapture(b, order, filter)); } else if (t == SnoopInput.class) { return t.cast(new SnoopInputCapture(in, filter)); }
253254255256257258259260261262263
case Pcap: b.reset(); ByteOrder order = PcapInputCapture.checkFormat(b); b.reset(); return new PcapInputCapture(b, order, filter); case Snoop: return new SnoopInputCapture(b, filter); /**