Table of Contents

Class FitsDoubleValueWriter

Namespace
FitsModel.FitsStream.Writer
Assembly
FitsModel.dll

Parses FitsDataBlocks into a list of values of type double.

public class FitsDoubleValueWriter : FitsValueWriter<double>, IFitsDataBlockWriter, IFitsValueWriter
Inheritance
FitsDoubleValueWriter
Implements
Inherited Members

Constructors

FitsDoubleValueWriter(long, bool, bool)

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

Parameters

numValues long
calculateStats bool
accumulateValues bool

Methods

ParseValue(byte[])

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

protected override double ParseValue(byte[] bytes)

Parameters

bytes byte[]

Returns

double

ToBytes(double)

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

public static byte[] ToBytes(double value)

Parameters

value double

Returns

byte[]