ReadChar() public method

public ReadChar ( ) : int
return int
Beispiel #1
0
 // JSON parsing methods
 private static int SkipWhitespaceJSON(CharacterInputWithCount reader)
 {
     while (true)
     {
         int c = reader.ReadChar();
         if (c == -1 || (c != 0x20 && c != 0x0a && c != 0x0d && c != 0x09))
         {
             return(c);
         }
     }
 }
Beispiel #2
0
 // JSON parsing methods
 private static int SkipWhitespaceJSON(CharacterInputWithCount reader)
 {
     while (true) {
     int c = reader.ReadChar();
     if (c == -1 || (c != 0x20 && c != 0x0a && c != 0x0d && c != 0x09)) {
       return c;
     }
       }
 }