1 #ifndef ION_DEVICE_USB_STREAMABLE_H 2 #define ION_DEVICE_USB_STREAMABLE_H 24 if (m_sizeLeft >=
sizeof(
T)) {
25 T * typedPointer =
static_cast<T *
>(m_pointer);
26 *typedPointer++ =
data;
27 m_pointer =
static_cast<void *
>(typedPointer);
28 m_sizeLeft -=
sizeof(
T);
36 virtual void push(Channel *
c)
const = 0;
Channel(void *pointer, size_t maxSize)
uint16_t copy(void *target, size_t maxSize) const
virtual void push(Channel *c) const =0