aboutsummaryrefslogtreecommitdiff
path: root/format/pktline
diff options
context:
space:
mode:
Diffstat (limited to 'format/pktline')
-rw-r--r--format/pktline/decoder.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/format/pktline/decoder.go b/format/pktline/decoder.go
index dd40de1d..898d8ad6 100644
--- a/format/pktline/decoder.go
+++ b/format/pktline/decoder.go
@@ -14,6 +14,8 @@ type ReadOptions struct {
// Decoder reads pkt-line frames from an io.Reader.
//
+// It is advisable to supply a buffered reader.
+//
// It preserves frame boundaries and supports one-frame lookahead via PeekFrame.
type Decoder struct {
r io.Reader