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