'Sets byte at ``((uint8_t*)addr)[ndx]`` to `val` in the cache.
Examples:
>>> l = MemLeak(lambda x: \'\')
>>> l.cache == {}
True
>>> l.setb(33, 0x41)
>>> l.cache == {33: \'A\'}
True'

def setb(self, addr, val, ndx=0):

    return self._set(addr, val, ndx, 1)
