RawPacket represents a raw packet or one encoded by Encoder
| 13 | |
| 14 | // RawPacket represents a raw packet or one encoded by Encoder |
| 15 | type RawPacket struct { |
| 16 | Data []byte |
| 17 | } |
| 18 | |
| 19 | type Encoder struct { |
| 20 | // buf is reusable because SerializeLayers calls the Clear method before each encoding |
no outgoing calls