Open Lighting Architecture: ola::io::InputBufferInterface Class Reference

| Open Lighting Architecture 0.10.9

Loading...
Searching...
No Matches
Public Member Functions | List of all members
ola::io::InputBufferInterface Class Referenceabstract

## Detailed Description

InputBufferInterface.

Inheritance diagram for ola::io::InputBufferInterface:

## 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

## ◆ Read() [1/2]

virtual unsigned int ola::io::InputBufferInterface::Read | ( | std::string * | output,
|  | unsigned int | length )
| pure virtual

Implemented in ola::acn::IOStack, ola::e133::IOStack, ola::io::IOQueue, and ola::io::IOStack.

## ◆ Read() [2/2]

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::acn::IOStack, ola::e133::IOStack, ola::io::IOQueue, ola::io::IOStack, and ola::io::MemoryBuffer.

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

- include/ola/io/InputBuffer.h