summaryrefslogtreecommitdiffstats
path: root/src/go/doc/comment/testdata/text5.txt
blob: 2408fc559d3b36692cca340f05ccd2b3fb2ba9f7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
{"TextWidth": 20}
-- input --
Package gob manages streams of gobs - binary values exchanged between an
Encoder (transmitter) and a Decoder (receiver). A typical use is
transporting arguments and results of remote procedure calls (RPCs) such as
those provided by package "net/rpc".

The implementation compiles a custom codec for each data type in the stream
and is most efficient when a single Encoder is used to transmit a stream of
values, amortizing the cost of compilation.
-- text --
Package gob
manages streams
of gobs - binary
values exchanged
between an Encoder
(transmitter) and a
Decoder (receiver).
A typical use
is transporting
arguments and
results of remote
procedure calls
(RPCs) such as those
provided by package
"net/rpc".

The implementation
compiles a custom
codec for each
data type in the
stream and is most
efficient when a
single Encoder is
used to transmit a
stream of values,
amortizing the cost
of compilation.