Replace io::Cursor::{remaining_slice, is_empty}
#109174
Merged
io::Cursor::{remaining_slice, is_empty}
#109174