Class FitsIntValueWriter
- Namespace
- FitsModel.FitsStream.Writer
- Assembly
- FitsModel.dll
Parses FitsDataBlocks into a list of values of type int.
public class FitsIntValueWriter : FitsValueWriter<int>, IFitsDataBlockWriter, IFitsValueWriter
- Inheritance
-
FitsIntValueWriter
- Implements
- Inherited Members
Constructors
FitsIntValueWriter(long, bool, bool)
public FitsIntValueWriter(long numValues, bool calculateStats = false, bool accumulateValues = false)
Parameters
Methods
ParseValue(byte[])
Parses a 32-bit signed integer from the given byte array.
protected override int ParseValue(byte[] bytes)
Parameters
bytes
byte[]
Returns
ToBytes(int)
Converts the given 32-bit signed integer to a byte array in big-endian format.
public static byte[] ToBytes(int value)
Parameters
value
int
Returns
- byte[]