IOBuffer range checks commit 91460a41b2b68b9d745827a07b6762adc99e3ed9