Table of Contents

Class FitsLongValueWriter

Namespace
FitsModel.FitsStream.Writer
Assembly
FitsModel.dll

Parses FitsDataBlocks into a list of values of type long.

public class FitsLongValueWriter : FitsValueWriter<long>, IFitsDataBlockWriter, IFitsValueWriter
Inheritance
FitsLongValueWriter
Implements
Inherited Members

Constructors

FitsLongValueWriter(long, bool, bool)

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

Parameters

numValues long
calculateStats bool
accumulateValues bool

Methods

ParseValue(byte[])

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

protected override long ParseValue(byte[] bytes)

Parameters

bytes byte[]

Returns

long

ToBytes(long)

Converts the given 64-bit signed integer to a byte array in big-endian format.

public static byte[] ToBytes(long value)

Parameters

value long

Returns

byte[]