This should be `IOBuffer(vec(data))` to avoid making a copy.