Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of M2XStreamClient by
NullPrint.h
00001 #ifndef NullPrint_h 00002 #define NullPrint_h 00003 00004 #include "Print.h" 00005 00006 // Null Print class used to calculate length to print 00007 class NullPrint : public Print { 00008 public: 00009 virtual size_t write(uint8_t b) { 00010 return 1; 00011 } 00012 00013 virtual size_t write(const uint8_t* buf, size_t size) { 00014 return size; 00015 } 00016 }; 00017 00018 #endif /* NullPrint_h */
Generated on Wed Jul 13 2022 05:32:06 by
