We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 743aa80 commit 7e60ca3Copy full SHA for 7e60ca3
pkg/iobuf/bufferedreaderseeker.go
@@ -1,3 +1,9 @@
1
+// Package iobuf provides a buffered reading interface with seeking capabilities.
2
+//
3
+// For small amounts of data, it uses an in-memory buffer (bytes.Buffer) to store
4
+// read bytes. When the amount of data exceeds a specified threshold, it switches
5
+// to disk-based buffering using a temporary file. This approach balances memory
6
+// usage and performance, allowing efficient handling of both small and large data streams.
7
package iobuf
8
9
import (
0 commit comments