···4455// ChunkWriter packetizes arbitrary stream bytes into data pkt-lines.
66// It never writes control packets automatically.
77+//
88+// Labels: MT-Unsafe.
79type ChunkWriter struct {
810 enc *Encoder
911}
+2
network/protocol/pktline/decoder.go
···1717// It is advisable to supply a buffered reader.
1818//
1919// It preserves frame boundaries and supports one-frame lookahead via PeekFrame.
2020+//
2121+// Labels: MT-Unsafe.
2022type Decoder struct {
2123 r io.Reader
2224 maxData int
+2
network/protocol/pktline/encoder.go
···1010// Encoder writes pkt-line frames to a flush-capable output transport.
1111//
1212// It writes exactly one frame per method call and does not auto-chunk data.
1313+//
1414+// Labels: MT-Unsafe.
1315type Encoder struct {
1416 w iowrap.WriteFlusher
1517 maxData int
+2
network/protocol/sideband64k/chunk_writer.go
···66// for one fixed band.
77//
88// It never writes control packets automatically.
99+//
1010+// Labels: MT-Unsafe.
911type ChunkWriter struct {
1012 enc *Encoder
1113 band Band
+2
network/protocol/sideband64k/decoder.go
···1717//
1818// It preserves frame boundaries and supports one-frame lookahead via
1919// PeekFrame.
2020+//
2121+// Labels: MT-Unsafe.
2022type Decoder struct {
2123 dec *pktline.Decoder
2224 maxData int
+2
network/protocol/sideband64k/encoder.go
···1010// Encoder writes side-band-64k frames to a flush-capable output transport.
1111//
1212// It writes exactly one frame per method call and does not auto-chunk data.
1313+//
1414+// Labels: MT-Unsafe.
1315type Encoder struct {
1416 enc *pktline.Encoder
1517 maxData int