39#ifndef BLOCXX_IOIFC_HPP_INCLUDE_GUARD_
40#define BLOCXX_IOIFC_HPP_INCLUDE_GUARD_
41#include "blocxx/BLOCXX_config.h"
72 virtual int read(
void* dataIn,
int dataInLen,
73 ErrorAction errorAsException = E_RETURN_ON_ERROR) = 0;
91 virtual int write(
const void* dataOut,
int dataOutLen,
92 ErrorAction errorAsException = E_RETURN_ON_ERROR) = 0;
virtual int write(const void *dataOut, int dataOutLen, ErrorAction errorAsException=E_RETURN_ON_ERROR)=0
Write a specified number of bytes to the device that is exposing the IOIFC interface.
virtual int read(void *dataIn, int dataInLen, ErrorAction errorAsException=E_RETURN_ON_ERROR)=0
Read a specified number of bytes from the device that is exposing the IOIFC interface.