Arduino DLNA Server
Main Page
Related Pages
Modules
Namespaces
Namespace List
Namespace Members
All
a
c
d
h
i
l
m
s
t
u
w
Variables
Typedefs
Enumerations
Enumerator
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
~
Functions
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
v
w
x
~
Variables
a
b
c
d
e
f
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
Related Functions
Files
File List
File Members
All
Variables
Macros
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Modules
Pages
src
basic
NullPrint.h
Go to the documentation of this file.
1
#include "Print.h"
2
3
namespace
tiny_dlna
{
4
5
/***
6
* @brief Class with does not do any output: it can be used to determine
7
* the length of the output
8
* @author Phil Schatzmann
9
* @copyright GPLv3
10
*/
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
Definition:
NullPrint.h:11
tiny_dlna
Definition:
Allocator.h:6
Generated by
1.9.1