Builds a packet and returns its bytes representation. This function is and will always be cross-version compatible
(x)
| 115 | |
| 116 | |
| 117 | def raw(x): |
| 118 | # type: (Packet) -> bytes |
| 119 | """ |
| 120 | Builds a packet and returns its bytes representation. |
| 121 | This function is and will always be cross-version compatible |
| 122 | """ |
| 123 | return bytes(x) |
| 124 | |
| 125 | |
| 126 | def bytes_encode(x): |