BigByteArray materializes as soon as you ask for something that goes across several pages. So I think this should return`offset + length <= PAGE_SIZE` instead.