HEASARC Menu Bar

next up previous contents FITSIO Home
Next: Specialized Write Column Data Up: Specialized FITS ASCII and Previous: Column Information Routines

   
Low-Level Table Access Routines

The following 2 routines provide low-level access to the data in ASCII or binary tables and are mainly useful as an efficient way to copy all or part of a table from one location to another. These routines simply read or write the specified number of consecutive bytes in an ASCII or binary table, without regard for column boundaries or the row length in the table. These routines do not perform any machine dependent data conversion or byte swapping.

1
Read a consecutive array of bytes from an ASCII or binary table  
  int fits_read_tblbytes / ffgtbb
      (fitsfile *fptr, long firstrow, long firstchar, long nchars,
       > unsigned char *values, int *status)
2
Write a consecutive array of bytes to an ASCII or binary table  
  int fits_write_tblbytes / ffptbb
      (fitsfile *fptr, long firstrow, long firstchar, long nchars,
       unsigned char *values, > int *status)