public char read_char ( ) throws OtpErlangDecodeException { final long l = this . read_long ( true ) ; final char i = ( char ) l ; if ( l != ( i & 0xffff L ) ) { throw new OtpErlangDecodeException ( "Value does not fit in char: " + l ) ; } return i ; }
Read a character from the stream .