コード例 #1
0
 /// <summary>
 /// Read the next token from the data buffer.
 /// </summary>
 /// <returns>True if the token was read successfully, else false.</returns>
 public bool Read()
 {
     if (UseFastUtf8)
     {
         return(ReadUtf8());
     }
     else if (UseFastUtf16)
     {
         return(ReadUtf16());
     }
     else
     {
         JsonThrowHelper.ThrowNotImplementedException();
         return(false);
     }
 }