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

Stream()

Stream::Stream()

setTimeout()

void Stream::setTimeout(unsigned long timeout)

引数

  • unsigned long timeout

getTimeout()

unsigned long Stream::getTimeout(void)

戻り値

unsigned long

find()

bool Stream::find(char *target)

引数

  • char * target

戻り値

bool

find()

bool Stream::find(uint8_t *target)

引数

  • uint8_t * target

戻り値

bool

find()

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

引数

  • char * target
  • size_t length

戻り値

bool

find()

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

引数

  • uint8_t * target
  • size_t length

戻り値

bool

find()

bool Stream::find(char target)

引数

  • char target

戻り値

bool

findUntil()

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

引数

  • char * target
  • char * terminator

戻り値

bool

findUntil()

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

引数

  • uint8_t * target
  • char * terminator

戻り値

bool

findUntil()

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

引数

  • char * target
  • size_t targetLen
  • char * terminate
  • size_t termLen

戻り値

bool

findUntil()

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

引数

  • uint8_t * target
  • size_t targetLen
  • char * terminate
  • size_t termLen

戻り値

bool

parseInt()

long Stream::parseInt(LookaheadMode lookahead=SKIP_ALL, char ignore=NO_IGNORE_CHAR)

引数

  • LookaheadMode lookahead
  • char ignore

戻り値

long

parseFloat()

float Stream::parseFloat(LookaheadMode lookahead=SKIP_ALL, char ignore=NO_IGNORE_CHAR)

引数

  • LookaheadMode lookahead
  • char ignore

戻り値

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