public override void StreamTo(Stream _stream) { _stream.WriteByte(65); _stream.WriteByte(26); _stream.WriteByte(PRA); _stream.WriteByte(PRB); _stream.WriteByte(DDRA); _stream.WriteByte(DDRB); _stream.WriteByte(SDR); _stream.WriteByte(CRA); _stream.WriteByte(CRB); StreamHelpers.WriteInt16(_stream, TimerA); _stream.WriteByte(TimerA_LatchLO); _stream.WriteByte(TimerA_LatchHI); StreamHelpers.WriteInt16(_stream, TimerB); _stream.WriteByte(TimerB_LatchLO); _stream.WriteByte(TimerB_LatchHI); _stream.WriteByte(INT_DATA); _stream.WriteByte(INT_MASK); StreamHelpers.WriteBool(_stream, FlagPIN); }