Table of Contents

Class FitsFloatValueWriter

Namespace
FitsModel.FitsStream.Writer
Assembly
FitsModel.dll

Parses FitsDataBlocks into a list of values of type float.

public class FitsFloatValueWriter : FitsValueWriter<float>, IFitsDataBlockWriter, IFitsValueWriter
Inheritance
FitsFloatValueWriter
Implements
Inherited Members

Constructors

FitsFloatValueWriter(long, bool, bool)

public FitsFloatValueWriter(long numValues, bool calculateStats = false, bool accumulateValues = false)

Parameters

numValues long
calculateStats bool
accumulateValues bool

Methods

ParseValue(byte[])

Parses a 32-bit floating point value from the given byte array.

protected override float ParseValue(byte[] bytes)

Parameters

bytes byte[]

Returns

float

ToBytes(float)

Converts the given 32-bit floating point value to a byte array in big-endian format.

public static byte[] ToBytes(float value)

Parameters

value float

Returns

byte[]