Write a int16_t (16 bits) Throws an exception of type (cfile_error *) if the OS returns an error on write
| 798 | // Write a int16_t (16 bits) |
| 799 | // Throws an exception of type (cfile_error *) if the OS returns an error on write |
| 800 | void cf_WriteShort(CFILE *cfp, int16_t s) { |
| 801 | int16_t t = INTEL_SHORT(s); |
| 802 | cf_WriteBytes((uint8_t *)&t, sizeof(t), cfp); |
| 803 | } |
| 804 | |
| 805 | // Write a byte (8 bits). |
| 806 | // Throws an exception of type (cfile_error *) if the OS returns an error on write |
no test coverage detected