![]() ![]() The classes are implemented in the System.IO namespace. It is possible to specify the encoding (UTF-8 by default). The BinaryWriter class is used to write standard data types and binary strings to a stream. When reading, you can specify the required encoding. The BinaryReader class is used to read primitive data and strings from the stream. The BinaryReader and BinaryWriter classes are designed to read and write data in binary format, respectively. Methods for reading unsigned integer data ReadUint16(), ReadUint32(), ReadUint64()ġ. ReadInt16(), ReadInt32(), ReadInt64() methods for reading int data Floating point data reading methods ReadDecimal(), ReadDouble(), ReadSingle() Methods of type Read… () for reading data of primitive types ( int, bool, double, …) Interaction of the BinaryReader class with basic store streams. It is recommended that you familiarize yourself with the following topics before exploring this topic:
0 Comments
Leave a Reply. |