write method
- BinaryWriter writer,
- EphemeralScoutingData obj
override
Is called when a value has to be encoded.
Implementation
@override
void write(BinaryWriter writer, EphemeralScoutingData obj) {
writer
..writeByte(3)
..writeByte(0)
..write(obj.compressedFormat)
..writeByte(1)
..write(obj.telemetryVersion)
..writeByte(2)
..write(obj.id);
}