#include <EthernetMacHeaderSerializer.h>
◆ EthernetPaddingSerializer()
| inet::EthernetPaddingSerializer::EthernetPaddingSerializer |
( |
| ) |
|
|
inline |
61 : FieldsChunkSerializer() {}
◆ deserialize()
Deserializes a chunk from a stream by reading the bytes at the current position of the stream.
The current stream position is updated according to the length of the returned chunk.
Implements inet::FieldsChunkSerializer.
80 throw cRuntimeError(
"Invalid operation");
◆ serialize()
| void inet::EthernetPaddingSerializer::serialize |
( |
MemoryOutputStream & |
stream, |
|
|
const Ptr< const Chunk > & |
chunk |
|
) |
| const |
|
overrideprotectedvirtual |
Serializes a chunk into a stream by writing all bytes representing the chunk at the end of the stream.
Implements inet::FieldsChunkSerializer.
75 stream.writeByteRepeatedly(0,
B(chunk->getChunkLength()).get());
The documentation for this class was generated from the following files: