Arduino DLNA Server
Loading...
Searching...
No Matches
src
basic
NullPrint.h
Go to the documentation of this file.
1
#include "Print.h"
2
3
namespace
tiny_dlna
{
4
11
class
NullPrint
:
public
Print {
12
size_t
write(uint8_t ch)
override
{
return
1; }
13
size_t
write(
const
uint8_t* buffer,
size_t
size)
override
{
return
size; }
14
};
15
16
}
// namespace tiny_dlna
tiny_dlna::NullPrint
Class with does not do any output: it can be used to determine the length of the output.
Definition:
NullPrint.h:11
tiny_dlna
Definition:
Allocator.h:6
Generated by
1.9.6