Table of Contents

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 Stream

The underlying data stream.

Methods

ReadFloat32Reverse()

Reads a single value value from the stream.

public float ReadFloat32Reverse()

Returns

float

ReadFloat64Reverse()

Reads a double value value from the stream.

public double ReadFloat64Reverse()

Returns

double

ReadInt16Reverse()

Reads a signed short value from the stream.

public short ReadInt16Reverse()

Returns

short

ReadInt32Reverse()

Reads a signed integer value from the stream.

public int ReadInt32Reverse()

Returns

int

ReadInt64Reverse()

Reads a signed long value from the stream.

public long ReadInt64Reverse()

Returns

long

ReadUInt16Reverse()

Reads an unsigned short value from the stream.

public ushort ReadUInt16Reverse()

Returns

ushort

ReadUInt32Reverse()

Reads an unsigned integer value from the stream.

public uint ReadUInt32Reverse()

Returns

uint

ReadUInt64Reverse()

Reads an unsigned long value from the stream.

public ulong ReadUInt64Reverse()

Returns

ulong