Open Lighting Architecture  0.9.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | List of all members
ola::io::InputBufferInterface Class Reference

Detailed Description

InputBufferInterface.

Inheritance diagram for ola::io::InputBufferInterface:
ola::io::IOQueue ola::io::IOStack ola::io::MemoryBuffer

Public Member Functions

virtual unsigned int Read (uint8_t *data, unsigned int length)=0
virtual unsigned int Read (std::string *output, unsigned int length)=0

Member Function Documentation

virtual unsigned int ola::io::InputBufferInterface::Read ( uint8_t *  data,
unsigned int  length 
)
pure virtual

Copy the next length bytes to *data. Less than length bytes may be returned if the end of the buffer is reached.

Returns
the number of bytes read

Implemented in ola::io::IOStack, ola::io::IOQueue, and ola::io::MemoryBuffer.


The documentation for this class was generated from the following file: