FACT++  1.0
uint8_t fits::ReadRow ( size_t  row)
inline

Definition at line 790 of file fits.h.

References fits::Table::bytes_per_row.

791  {
792  // For the checksum we need everything to be correctly aligned
793  const uint8_t offset = (row*fTable.bytes_per_row)%4;
794 
796 
797  StageRow(row, fBufferRow.data()+offset);
798 
799  WriteRowToCopyFile(row);
800 
801  fRow = row;
802 
803  return offset;
804  }
size_t bytes_per_row
Definition: fits.h:96
void ZeroBufferForChecksum(std::vector< char > &vec, const uint64_t extraZeros=0)
Definition: fits.h:776
virtual void WriteRowToCopyFile(size_t row)
Definition: fits.h:759
Table fTable
Definition: fits.h:502
size_t fRow
Definition: fits.h:514
std::vector< char > fBufferRow
Definition: fits.h:511
virtual void StageRow(size_t row, char *dest)
Definition: fits.h:751