| 15 | } |
| 16 | |
| 17 | void SingleByteSerialEvent::write(AbstractFile & os) { |
| 18 | os.write(reinterpret_cast<char *>(&byte), sizeof(byte)); |
| 19 | os.skipp(15); // due to union |
| 20 | } |
| 21 | |
| 22 | uint32_t SingleByteSerialEvent::calculateObjectSize() const { |
| 23 | return sizeof(byte); |