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