def __init__(self, the_uuid, raw_data, length=0, offset=-1):
        """
        Parameters
        ----------
        the_uuid : uuid.UUID
            Identifies the type of UUID box.
        raw_data : byte array
            Sequence of uninterpreted bytes as read from the UUID box.
        length : int
            length of the box in bytes.
        offset : int
            offset of the box from the start of the file.
        """
        Jp2kBox.__init__(self)
        self.uuid = the_uuid
        self.raw_data = raw_data
        self.length = length
        self.offset = offset
        self.data = None

        try:
            self._parse_raw_data()
        except IOError as error:
            # Such as when Exif byte order is unrecognized.
            warnings.warn(str(error))
def __init__ ( self , the_uuid , raw_data , length = 0 , offset = - 1 ) : Jp2kBox . __init__ ( self ) self . uuid = the_uuid self . raw_data = raw_data self . length = length self . offset = offset self . data = None try : self . _parse_raw_data ( ) except IOError as error : warnings . warn ( str ( error ) )
Parameters
        ----------
        the_uuid : uuid.UUID
            Identifies the type of UUID box.
        raw_data : byte array
            Sequence of uninterpreted bytes as read from the UUID box.
        length : int
            length of the box in bytes.
        offset : int
            offset of the box from the start of the file.