aboutsummaryrefslogtreecommitdiff
path: root/network/protocol/pktline/decoder.go
diff options
context:
space:
mode:
authorGravatar Runxi Yu2026-03-29 03:50:31 +0000
committerGravatar Runxi Yu2026-03-29 03:50:31 +0000
commitb6d6d077d4b28c2dcc644baadcfbc35e44f37a32 (patch)
tree037b213ec371a33d19dd91ddb9d38676ef43eed6 /network/protocol/pktline/decoder.go
parentnetwork/protocol: Constructors get Life-Parent too (diff)
signatureNo signature
network: Fix labels
Diffstat (limited to 'network/protocol/pktline/decoder.go')
-rw-r--r--network/protocol/pktline/decoder.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/network/protocol/pktline/decoder.go b/network/protocol/pktline/decoder.go
index 15cab63d..682dd164 100644
--- a/network/protocol/pktline/decoder.go
+++ b/network/protocol/pktline/decoder.go
@@ -17,6 +17,8 @@ type ReadOptions struct {
// It is advisable to supply a buffered reader.
//
// It preserves frame boundaries and supports one-frame lookahead via PeekFrame.
+//
+// Labels: MT-Unsafe.
type Decoder struct {
r io.Reader
maxData int