/*
* We could read the record type directly from the header by calling
* headerReader.readRecordType(), but for Pcap files unless the position is
* 0, its always a Pcap Packet
*/
final PcapRecord record;
if (position == 0) {
record = ((AbstractFile<PcapPacket, PcapRecord, PcapBlockRecord>) file).getBlockRecord();
} else {
record = new PcapPacketRecordImpl(this.file, this.editor, this.block,