trufflehog icon indicating copy to clipboard operation
trufflehog copied to clipboard

[chore] - use read full

Open ahrav opened this issue 1 year ago • 0 comments

Description:

If the amount of data to be read is known ahead of time, it is recommended to use io.ReadFull as it guarantees the number of bytes to be read.

Checklist:

  • [ ] Tests passing (make test-community)?
  • [ ] Lint passing (make lint this requires golangci-lint)?

ahrav avatar Feb 17 '24 00:02 ahrav