public void confirmByte(char lastByte){
  pktStat=PacketStatus.COMPLEMENT;
  writeChar((char)~lastByte,true);
}

public void confirmByte ( char lastByte ) { pktStat = PacketStatus . COMPLEMENT ; writeChar ( ( char ) ~ lastByte , true ) ; }
confirm reception of last byte by sending complement of it back
