Itenso.Rtf.Parser.RtfParser.ReadOneByte C# (CSharp) Méthode

ReadOneByte() private static méthode

private static ReadOneByte ( TextReader reader ) : int
reader TextReader
Résultat int
        private static int ReadOneByte( TextReader reader )
        {
            int byteValue = reader.Read();
            if ( byteValue == -1 )
            {
                throw new RtfUnicodeEncodingException( Strings.UnexpectedEndOfFile );
            }
            return byteValue;
        }