github.com/lovishpuri/go-40569/src@v0.0.0-20230519171745-f8623e7c56cf/go/doc/comment/testdata/text5.txt (about) 1 {"TextWidth": 20} 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 13 manages streams 14 of gobs - binary 15 values exchanged 16 between an Encoder 17 (transmitter) and a 18 Decoder (receiver). 19 A typical use 20 is transporting 21 arguments and 22 results of remote 23 procedure calls 24 (RPCs) such as those 25 provided by package 26 "net/rpc". 27 28 The implementation 29 compiles a custom 30 codec for each 31 data type in the 32 stream and is most 33 efficient when a 34 single Encoder is 35 used to transmit a 36 stream of values, 37 amortizing the cost 38 of compilation.