github.com/prysmaticlabs/prysm@v1.4.4/beacon-chain/p2p/encoder/doc.go (about)

     1  /*
     2  Package encoder allows for registering custom data encoders for information
     3  sent as raw bytes over the wire via p2p to other nodes. Examples of encoders
     4  are SSZ (SimpleSerialize), SSZ with Snappy compression, among others. Providing
     5  an abstract interface for these encoders allows for future flexibility of
     6  Ethereum beacon node p2p.
     7  */
     8  package encoder