| 1 |
{"TextPrefix": " "} |
| 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 |
| 13 |
exchanged between an Encoder (transmitter) and a Decoder |
| 14 |
(receiver). A typical use is transporting arguments and |
| 15 |
results of remote procedure calls (RPCs) such as those |
| 16 |
provided by package "net/rpc". |
| 17 |
|
| 18 |
The implementation compiles a custom codec for each data |
| 19 |
type in the stream and is most efficient when a single |
| 20 |
Encoder is used to transmit a stream of values, amortizing |
| 21 |
the cost of compilation. |