...
1{"TextWidth": 20}
2-- input --
3Package gob manages streams of gobs - binary values exchanged between an
4Encoder (transmitter) and a Decoder (receiver). A typical use is
5transporting arguments and results of remote procedure calls (RPCs) such as
6those provided by package "net/rpc".
7
8The implementation compiles a custom codec for each data type in the stream
9and is most efficient when a single Encoder is used to transmit a stream of
10values, amortizing the cost of compilation.
11-- text --
12Package gob
13manages streams
14of gobs - binary
15values exchanged
16between an Encoder
17(transmitter) and a
18Decoder (receiver).
19A typical use
20is transporting
21arguments and
22results of remote
23procedure calls
24(RPCs) such as those
25provided by package
26"net/rpc".
27
28The implementation
29compiles a custom
30codec for each
31data type in the
32stream and is most
33efficient when a
34single Encoder is
35used to transmit a
36stream of values,
37amortizing the cost
38of compilation.
View as plain text