ErrorLayer is particularly useful, since it returns nil if the packet was fully decoded successfully, and non-nil if an error was encountered in decoding and the packet was only partially decoded. Thus, its output can be used to determine if the entire packet was able to be decoded.
()
| 90 | // in decoding and the packet was only partially decoded. Thus, its output |
| 91 | // can be used to determine if the entire packet was able to be decoded. |
| 92 | ErrorLayer() ErrorLayer |
| 93 | |
| 94 | //// Functions for accessing data specific to the packet: |
| 95 | //// ------------------------------------------------------------------ |
no outgoing calls