code: def read_block_epb(self, block, size):
          
          intid, tshigh, tslow, caplen, wirelen = struct.unpack(
              self.endian + "5I",
              block[:20],
          )
          return (block[20:20 + caplen][:size],
                  RawPcapNgReader.PacketMetadata(linktype=self.interfaces[intid][0],  # noqa: E501
                                                 tsresol=self.interfaces[intid][2],  # noqa: E501
                                                 tshigh=tshigh,
                                                 tslow=tslow,
                                                 wirelen=wirelen))
docs: Enhanced Packet Block