Fix read_exact and read_buf_exact for &[u8] and io:Cursor
#125123
Merged
read_exact and read_buf_exact for &[u8] and io:Cursor
#125123