<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _read_mode_tsopt(self, size, kind):
 """Read Timestamps option. Positional arguments: * size - int, length of option * kind - int, 8 (Timestamps) Returns: * dict -- extracted Timestamps (TS) option Structure of TCP TSopt [RFC 7323]: |Kind=8 | 10 | TS Value (TSval) |TS Echo Reply (TSecr)| 1 1 4 4 Octets Bits Name Description 0 0 tcp.ts.kind Kind (8) 1 8 tcp.ts.length Length (10) 2 16 tcp.ts.val Timestamp Value 6 48 tcp.ts.ecr Timestamps Echo Reply """

        temp = struct.unpack('>II', self._read_fileng(size))
        data = dict(
            kind=kind,
            length=size,
            val=temp[0],
            ecr=temp[1],
        )
        return data