private void WriteRecord(pcap_record_t pcap_record) { writer.Write(pcap_record.ts_sec); writer.Write(pcap_record.ts_usec); writer.Write(pcap_record.incl_len); writer.Write(pcap_record.orig_len); writer.Write(pcap_record.buffer); }