Skip to content

Delete fmtio.BytesFromStdin

Niels Möller requested to merge delete-BytesFromStdin into main

It was used mainly to read stdin into a buffer, then wrapped in a bytes.NewBuffer to be passed to FromASCII. It's more straightforward to use os.Stdin directly.

Also add a crypto.HashFile function, for the use cases where data is hashed rather than parsed.

Merge request reports