Find, verify, and analyze leaked credentials
Go credentialsdevsecopsdynamic-analysisprecommitscanningsecretsecret-managementsecretssecuritysecurity-toolstrufflehogverification
add pkg level doc (#3684)
ahrav7e60ca356495
diff --git a/pkg/iobuf/bufferedreaderseeker.go b/pkg/iobuf/bufferedreaderseeker.goindex 16e44dc35..43aac63e8 100644--- a/pkg/iobuf/bufferedreaderseeker.go+++ b/pkg/iobuf/bufferedreaderseeker.go@@ -1,3 +1,9 @@+// Package iobuf provides a buffered reading interface with seeking capabilities.+//+// For small amounts of data, it uses an in-memory buffer (bytes.Buffer) to store+// read bytes. When the amount of data exceeds a specified threshold, it switches+// to disk-based buffering using a temporary file. This approach balances memory+// usage and performance, allowing efficient handling of both small and large data streams.package iobufimport (