ReadChar() 공개 메소드

public ReadChar ( ) : int
리턴 int
예제 #1
0
파일: CBORJson.cs 프로젝트: ulfendk/CBOR
 // 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);
         }
     }
 }
예제 #2
0
파일: CBORJson.cs 프로젝트: peteroupc/CBOR
 // 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;
     }
       }
 }