| 1 |
{"TextWidth": -1} |
| 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 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". |
| 13 |
|
| 14 |
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. |