Class ExtendedBinaryReader
- Namespace
- FluentModbus
- Assembly
- FluentModbus.dll
A binary reader with extended capability to handle big-endian data.
public class ExtendedBinaryReader : BinaryReader, IDisposable
- Inheritance
-
ExtendedBinaryReader
- Implements
- Inherited Members
Constructors
ExtendedBinaryReader(Stream)
Initializes a new instance of the ExtendedBinaryReader instance.
public ExtendedBinaryReader(Stream stream)
Parameters
stream
StreamThe underlying data stream.
Methods
ReadFloat32Reverse()
Reads a single value value from the stream.
public float ReadFloat32Reverse()
Returns
ReadFloat64Reverse()
Reads a double value value from the stream.
public double ReadFloat64Reverse()
Returns
ReadInt16Reverse()
Reads a signed short value from the stream.
public short ReadInt16Reverse()
Returns
ReadInt32Reverse()
Reads a signed integer value from the stream.
public int ReadInt32Reverse()
Returns
ReadInt64Reverse()
Reads a signed long value from the stream.
public long ReadInt64Reverse()
Returns
ReadUInt16Reverse()
Reads an unsigned short value from the stream.
public ushort ReadUInt16Reverse()
Returns
ReadUInt32Reverse()
Reads an unsigned integer value from the stream.
public uint ReadUInt32Reverse()
Returns
ReadUInt64Reverse()
Reads an unsigned long value from the stream.
public ulong ReadUInt64Reverse()