In this assignment, we suggest that you implement the io.ReadWriter interface.
You already have a starting draft code; you just need to modify the Read() method so that it fills the p slice. Perhaps the built-in function copy will help you.
In this assignment, we suggest that you implement the io.ReadWriter interface.
You already have a starting draft code; you just need to modify the Read() method so that it fills the p slice. Perhaps the built-in function copy will help you.
Create a free account to access the full topic