Numworks Epsilon  1.4.1
Graphing Calculator Operating System
streamable.cpp
Go to the documentation of this file.
1 #include "streamable.h"
2 
3 namespace Ion {
4 namespace USB {
5 namespace Device {
6 
7 uint16_t Streamable::copy(void * target, size_t maxSize) const {
8  Channel c(target, maxSize);
9  push(&c);
10  return maxSize - c.sizeLeft();
11 }
12 
13 }
14 }
15 }
unsigned short uint16_t
Definition: stdint.h:5
uint16_t copy(void *target, size_t maxSize) const
Definition: streamable.cpp:7
c(generic_all_nodes)
Definition: app.cpp:5
virtual void push(Channel *c) const =0
Definition: backlight.h:6