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
{{ message }}
This repository was archived by the owner on Dec 8, 2022. It is now read-only.
Example:
Executing
raises an error saying
error: missing argument 'sz'. However, when the number of bytes to be read is passed explicitly, it works as expectedIdeal Behaviour
If nothing is passed, the whole file should be read and returned.
Possible fix
Assumption:
internal/file.seqhandles allfileoperations (readin this case)Need to make
szand Optional parameter here. And ifszisNone, then setszto the file size.