EmissionSystemBeamRecord.serialize incorrectly contains outputStream read calls instead of write
jason-mckinney opened this issue · comments
Jason McKinney commented
open-dis-python/opendis/dis7.py
Lines 5350 to 5359 in b640fa3
EmissionSystemBeamRecord's
serialize
function implementation is incorrectly attempting to call outputStream.read_unsigned_byte
and outputStream.read_unsigned_short
, which do not exist, and should be writes.
The read calls need to be replaced with the correct write calls: outputStream.write_unsigned_byte
and outputStream.write_unsigned_short