@@ -547,47 +547,6 @@ size_t File::write(const uint8_t *buf, size_t size)
547547 return write ((const char *)buf, size);
548548}
549549
550- /* *
551- * @brief Print data to the file
552- * @param data: Data to write to the file
553- * @retval Number of data written (1)
554- */
555- size_t File::print (const char *data)
556- {
557- return write (data, strlen (data));
558- }
559-
560- /* *
561- * @brief Print data to the file
562- * @retval Number of data written (1)
563- */
564- size_t File::println ()
565- {
566- return write (" \r\n " , 2 );
567- }
568-
569- /* *
570- * @brief Print data to the file
571- * @param data: Data to write to the file
572- * @retval Number of data written (1)
573- */
574- size_t File::println (const char *data)
575- {
576- size_t bytewritten = write (data, strlen (data));
577- bytewritten += println ();
578- return bytewritten;
579- }
580-
581- /* *
582- * @brief Print data to the file
583- * @param data: Data of type String to write to the file
584- * @retval Number of data written (1)
585- */
586- size_t File::println (String &data)
587- {
588- return println (data.c_str ());
589- }
590-
591550/* *
592551 * @brief Check if there are any bytes available for reading from the file
593552 * @retval Number of bytes available
0 commit comments