def __init__(self, bytedata):
        """Parsed memory information

        Parse bytedata input and provide a structured detail about the
        described memory component

        :param bytedata: A bytearray of data to decode
        :return:
        """
        self.rawdata = bytearray(bytedata)
        spd = self.rawdata
        self.info = {'memory_type': memory_types.get(spd[2], 'Unknown')}
        if spd[2] == 11:
            self._decode_ddr3()
        elif spd[2] == 12:
            self._decode_ddr4()
def __init__ ( self , bytedata ) : self . rawdata = bytearray ( bytedata ) spd = self . rawdata self . info = { 'memory_type' : memory_types . get ( spd [ 2 ] , 'Unknown' ) } if spd [ 2 ] == 11 : self . _decode_ddr3 ( ) elif spd [ 2 ] == 12 : self . _decode_ddr4 ( )
Parsed memory information

        Parse bytedata input and provide a structured detail about the
        described memory component

        :param bytedata: A bytearray of data to decode
        :return: