Table of Contents

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

numValues long
calculateStats bool
accumulateValues bool

Methods

ParseValue(byte[])

Parses a 32-bit signed integer from the given byte array.

protected override int ParseValue(byte[] bytes)

Parameters

bytes byte[]

Returns

int

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