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
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
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[]