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