MCPcopy Create free account
hub / github.com/ayushsharma82/WebSerial / _flush_global_buffer

Method _flush_global_buffer

src/WebSerial.cpp:262–269  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

260}
261
262void WebSerialClass::_flush_global_buffer() {
263 if (_buffer_offset > 0) {
264 // Flush buffer to websocket
265 _ws->binaryAll(_buffer, _buffer_offset);
266 // Reset buffer offset
267 _buffer_offset = 0;
268 }
269}
270#endif // WSL_HIGH_PERF
271
272void WebSerialClass::loop() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected