def bytes_offset_backend(x):
    """Get offset of array data from base data in bytes."""
    return (0 if x.base is None else 
        x.__array_interface__['data'][0] - x.base.__array_interface__['data'][0])