You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since the read function of std::io::Read may read less than the length of the buffer passed to it, adding a function named read_full which calls read in a loop until the buffer is filled can be useful.