public short read_short ( ) throws OtpErlangDecodeException { final long l = this . read_long ( false ) ; final short i = ( short ) l ; if ( l != i ) { throw new OtpErlangDecodeException ( "Value does not fit in short: " + l ) ; } return i ; }
Read a short from the stream .