Closed Berrysoft closed 1 year ago
Current implementation will panic on overflowed pos
. Is that desirable? Or should we handle the situation?
I tested on Windows and Linux for File
and both of them returns no error if the pos is too large. I think we should also do so.
@Berrysoft Sure. Then this needs to be handled in implementation of Async{Read, Write}At for slice
@George-Miao do we need to check the position in
read_at
andwrite_at
for&[u8]
and&mut [u8]
?