def parse(cls, fptr, offset, length):
        """Parse UUID box.

        Parameters
        ----------
        fptr : file
            Open file object.
        offset : int
            Start position of box in bytes.
        length : int
            Length of the box in bytes.

        Returns
        -------
        UUIDBox
            Instance of the current UUID box.
        """
        num_bytes = offset + length - fptr.tell()
        read_buffer = fptr.read(num_bytes)
        the_uuid = UUID(bytes=read_buffer[0:16])
        return cls(the_uuid, read_buffer[16:], length=length, offset=offset)
def parse ( cls , fptr , offset , length ) : num_bytes = offset + length - fptr . tell ( ) read_buffer = fptr . read ( num_bytes ) the_uuid = UUID ( bytes = read_buffer [ 0 : 16 ] ) return cls ( the_uuid , read_buffer [ 16 : ] , length = length , offset = offset )
Parse UUID box.

        Parameters
        ----------
        fptr : file
            Open file object.
        offset : int
            Start position of box in bytes.
        length : int
            Length of the box in bytes.

        Returns
        -------
        UUIDBox
            Instance of the current UUID box.