* Write data to an open file. * * \note Data is moved to the cache but may not be written to the * storage device until sync() is called. * * \param[in] buf Pointer to the location of the data to be written. * * \param[in] nbyte Number of bytes to write. * * \return For success write() returns the number of bytes written, always * \a nbyte. If an error occurs, write() returns -1. Possi
| 61 | * for a read-only file, device is full, a corrupt file system or an I/O error. |
| 62 | */ |
| 63 | int16_t SdFile::write(const void * const buf, const uint16_t nbyte) { return SdBaseFile::write(buf, nbyte); } |
| 64 | |
| 65 | /** |
| 66 | * Write a byte to a file. Required by the Arduino Print class. |
no outgoing calls
no test coverage detected