next up previous contents FITSIO Home
Next: 9.6.3 Write Column Data Up: 9.6 Specialized FITS ASCII Previous: 9.6.1 General Column Routines

9.6.2 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. See Appendix B for the definition of the parameters used in these routines.

1
Read or write 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)

  int fits_write_tblbytes / ffptbb
      (fitsfile *fptr, long firstrow, long firstchar, long nchars,
       unsigned char *values, > int *status)