#include <FTD2XXInputStream.h>
Inheritance diagram for annotatorcomm::ftd2xx::FTD2XXInputStream:
Public Member Functions | |
FTD2XXInputStream (FTD2XX *ftd2xx) | |
virtual | ~FTD2XXInputStream () |
virtual uint32_t | available () throw (IOException) |
virtual int32_t | read () throw (IOException) |
virtual uint32_t | read (uint8_t *buffer, uint32_t offset, uint32_t length) throw (IOException) |
Definition at line 28 of file FTD2XXInputStream.h.
annotatorcomm::ftd2xx::FTD2XXInputStream::FTD2XXInputStream | ( | FTD2XX * | ftd2xx | ) |
virtual annotatorcomm::ftd2xx::FTD2XXInputStream::~FTD2XXInputStream | ( | ) | [virtual] |
FTD2XXInputStream
destructor
virtual uint32_t annotatorcomm::ftd2xx::FTD2XXInputStream::available | ( | ) | throw (IOException) [virtual] |
Get the number of bytes available in the stream.
IOException | failure to get bytes available |
Implements annotatorcomm::InputStream.
virtual uint32_t annotatorcomm::ftd2xx::FTD2XXInputStream::read | ( | uint8_t * | buffer, | |
uint32_t | offset, | |||
uint32_t | length | |||
) | throw (IOException) [virtual] |
Read length
bytes from the stream, and place them into buffer
starting at offset
.
buffer | destination | |
offset | offset into destination | |
length | number of bytes to read |
IOException | failure to read bytes |
Implements annotatorcomm::InputStream.
virtual int32_t annotatorcomm::ftd2xx::FTD2XXInputStream::read | ( | ) | throw (IOException) [virtual] |
Read a byte from the stream.
IOException | failure to read byte |
Implements annotatorcomm::InputStream.