#include <OutputStream.h>
Inheritance diagram for annotatorcomm::OutputStream:
Public Member Functions | |
virtual void | write (uint8_t data)=0 throw (IOException) |
virtual void | write (uint8_t *buffer, uint32_t offset, uint32_t length)=0 throw (IOException) |
virtual void | flush ()=0 throw (IOException) |
OutputStream
is an abstract class to a output stream of bytes.
Definition at line 24 of file OutputStream.h.
virtual void annotatorcomm::OutputStream::flush | ( | ) | throw (IOException) [pure virtual] |
Flush buffered bytes out of the stream.
IOException | failure to flush |
Implemented in annotatorcomm::ftd2xx::FTD2XXOutputStream.
virtual void annotatorcomm::OutputStream::write | ( | uint8_t * | buffer, | |
uint32_t | offset, | |||
uint32_t | length | |||
) | throw (IOException) [pure virtual] |
Write length
bytes of buffer
starting at offset
to the stream.
buffer | data to buffer | |
offset | offset in buffer to start writing | |
length | number of bytes to write |
IOException | failure to write bytes |
Implemented in annotatorcomm::ftd2xx::FTD2XXOutputStream.
virtual void annotatorcomm::OutputStream::write | ( | uint8_t | data | ) | throw (IOException) [pure virtual] |
Write a byte to the stream.
data | byte of data to write |
IOException | failure to write byte |
Implemented in annotatorcomm::ftd2xx::FTD2XXOutputStream.