Read Reads the specified data from the formatted read buffer, and converts it to the type specified by the return type of the method. Char ReadChar(); Int64 ReadInt64(); UInt64 ReadUInt64(); Double ReadDouble(); Type Description The value read from the formatted read buffer, converted to the specified type. Char, Int64, UInt64, Double The method implementations exhibit exactly the same behavior (but not necessarily ReadType implementated exactly as shown) as a corresponding call to as shown in the following table. Scanf, ReadType Method Equivalent Scanf Call Scanf(“%c”, out result); Char ReadChar(); (return result) Scanf(“%d”, out result); UInt64 ReadUInt64(); (return Int64 ReadInt64(); result) Scanf(“%g”, out result); Double ReadDouble(); (return result)
Read Reads the specified data from the formatted read buffer, and converts it to the type specified by the return type of the method. Char ReadChar(); Int64 ReadInt64(); UInt64 ReadUInt64(); Double ReadDouble(); Type Description Char, Int64, UInt64, Double The value read from the formatted read buffer, converted to the specified type. The ReadType method implementations exhibit exactly the same behavior (but not necessarily implementated exactly as shown) as a corresponding call to Scanf, as shown in the following table. ReadType Method Equivalent Scanf Call Char ReadChar(); Scanf(“%c”, out result); (return result) UInt64 ReadUInt64(); Int64 ReadInt64(); Scanf(“%d”, out result); (return result) Double ReadDouble(); Scanf(“%g”, out result); (return result)
vpp436_2015-02-11.docx