def buffer_to_value(self, obj, buffer, offset, default_endianness=DEFAULT_ENDIANNESS):
        try:
            return uuid.UUID(bytes=buffer[offset:offset+16]), 16
        except __HOLE__ as e:
            raise PacketDecodeError("{}: failed to decode UUID: {}".format(self.type, e))
dataset/ETHPy150Open pebble/libpebble2/libpebble2/protocol/base/types.py/UUID.buffer_to_value