<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_uint32(self, little_endian=True):
 """ Read 4 bytes as an unsigned integer value from the stream. Args: little_endian (bool):
 specify the endianness. (Default) Little endian. Returns: int: """

        if little_endian:
            endian = "<"
        else:
            endian = ">"
        return self.unpack('%sI' % endian, 4)