Table of Contents

Class ExtendedBinaryWriter

Namespace
FluentModbus
Assembly
FluentModbus.dll

A binary writer with extended capability to handle big-endian data.

public class ExtendedBinaryWriter : BinaryWriter, IAsyncDisposable, IDisposable
Inheritance
ExtendedBinaryWriter
Implements
Inherited Members

Constructors

ExtendedBinaryWriter(Stream)

Initializes a new instance of the ExtendedBinaryWriter instance.

public ExtendedBinaryWriter(Stream stream)

Parameters

stream Stream

The underlying data stream.

Methods

WriteReverse(double)

Writes the provided value to the stream.

public void WriteReverse(double value)

Parameters

value double

The value to be written.

WriteReverse(short)

Writes the provided value to the stream.

public void WriteReverse(short value)

Parameters

value short

The value to be written.

WriteReverse(int)

Writes the provided value to the stream.

public void WriteReverse(int value)

Parameters

value int

The value to be written.

WriteReverse(long)

Writes the provided value to the stream.

public void WriteReverse(long value)

Parameters

value long

The value to be written.

WriteReverse(float)

Writes the provided value to the stream.

public void WriteReverse(float value)

Parameters

value float

The value to be written.

WriteReverse(ushort)

Writes the provided value to the stream.

public void WriteReverse(ushort value)

Parameters

value ushort

The value to be written.

WriteReverse(uint)

Writes the provided value to the stream.

public void WriteReverse(uint value)

Parameters

value uint

The value to be written.

WriteReverse(ulong)

Writes the provided value to the stream.

public void WriteReverse(ulong value)

Parameters

value ulong

The value to be written.