MCPcopy Create free account
hub / github.com/HASwitchPlate/openHASP / peek

Method peek

lib/StringStream/StringStream.h:20–23  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

18 return position < string.length() ? string[position++] : -1;
19 }
20 virtual int peek()
21 {
22 return position < string.length() ? string[position] : -1;
23 }
24 virtual void flush(){};
25 // Print methods
26 virtual size_t write(uint8_t c)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected