def _unpack_header(self, data):
        """
        Unpacks the header of given byte string.
        """
        return struct.unpack(self._struct_header,
                             data[:self._struct_header_size])
def _unpack_header ( self , data ) : return struct . unpack ( self . _struct_header , data [ : self . _struct_header_size ] )
Unpacks the header of given byte string.