Skip to content

Stream

詳細情報

メンバー

available()

virtual int Stream::available()=0

戻り値

int

read()

virtual int Stream::read()=0

戻り値

int

peek()

virtual int Stream::peek()=0

戻り値

int

flush()

virtual void Stream::flush()=0

Stream()

Stream::Stream()

~Stream()

virtual Stream::~Stream()

setTimeout()

void Stream::setTimeout(unsigned long timeout)

引数

  • unsigned long timeout

getTimeout()

unsigned long Stream::getTimeout(void)

戻り値

unsigned long

find()

bool Stream::find(const char *target)

引数

  • constchar * target

戻り値

bool

find()

bool Stream::find(uint8_t *target)

引数

  • uint8_t* target

戻り値

bool

find()

bool Stream::find(const char *target, size_t length)

引数

  • constchar * target
  • size_t length

戻り値

bool

find()

bool Stream::find(const uint8_t *target, size_t length)

引数

  • const* target
  • size_t length

戻り値

bool

find()

bool Stream::find(char target)

引数

  • char target

戻り値

bool

findUntil()

bool Stream::findUntil(const char *target, const char *terminator)

引数

  • constchar * target
  • constchar * terminator

戻り値

bool

findUntil()

bool Stream::findUntil(const uint8_t *target, const char *terminator)

引数

  • const* target
  • constchar * terminator

戻り値

bool

findUntil()

bool Stream::findUntil(const char *target, size_t targetLen, const char *terminate, size_t termLen)

引数

  • constchar * target
  • size_t targetLen
  • constchar * terminate
  • size_t termLen

戻り値

bool

findUntil()

bool Stream::findUntil(const uint8_t *target, size_t targetLen, const char *terminate, size_t termLen)

引数

  • const* target
  • size_t targetLen
  • constchar * terminate
  • size_t termLen

戻り値

bool

parseInt()

long Stream::parseInt()

戻り値

long

parseFloat()

float Stream::parseFloat()

戻り値

float

readBytes()

size_t Stream::readBytes(char *buffer, size_t length)

引数

  • char * buffer
  • size_t length

戻り値

size_t

readBytes()

size_t Stream::readBytes(uint8_t *buffer, size_t length)

引数

  • uint8_t* buffer
  • size_t length

戻り値

size_t

readBytesUntil()

size_t Stream::readBytesUntil(char terminator, char *buffer, size_t length)

引数

  • char terminator
  • char * buffer
  • size_t length

戻り値

size_t

readBytesUntil()

size_t Stream::readBytesUntil(char terminator, uint8_t *buffer, size_t length)

引数

  • char terminator
  • uint8_t* buffer
  • size_t length

戻り値

size_t

readString()

String Stream::readString()

戻り値

String

readStringUntil()

String Stream::readStringUntil(char terminator)

引数

  • char terminator

戻り値

String