licel/jcardsim — pull request #27 by klali (2013-12-11 15:21:17+00:00)
Title: Make sure to mask when casting byte to short in receiveBytes()

fix an issue where lc > 0x80 the sign byte is promoted to the short len in receiveBytes()