def __init__(self, payload, byteorder): """ Initialize a new instance of the SunspecDecoder .. note:: This is always set to big endian byte order as specified in the protocol. """ byteorder = Endian.Big BinaryPayloadDecoder.__init__(self, payload, byteorder)
def __init__(self, payload, byteorder=Endian.Big, wordorder=Endian.Big): BinaryPayloadDecoder.__init__(self, payload, byteorder, wordorder)