ar icon indicating copy to clipboard operation
ar copied to clipboard

ar: add a NewStrictReader

Open josieang opened this issue 8 months ago • 0 comments

The NewReader method in reader.go doesn't check that the magic header is correct, this leads to some strange things, like ascii text files being parsed without any error.

This change is a suggestion to add a NewStrictReader which checks for the magic header.

josieang avatar Apr 09 '25 01:04 josieang