cast NSData bytes