Well, read them in as a normal short, then pass them through this:
[edit: code was wrong]
It's messy (especially in situations like this), but I disagree that signed shorts should be added to the language. It's a legacy datatype with no real use in a modern language.
[edit: code was wrong]
It's messy (especially in situations like this), but I disagree that signed shorts should be added to the language. It's a legacy datatype with no real use in a modern language.