MCPcopy Create free account
hub / github.com/FastLED/FastLED / write_bytes

Function write_bytes

src/platforms/win/io_win.cpp.hpp:79–85  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

77}
78
79size_t write_bytes(const u8* buffer, size_t size) FL_NOEXCEPT {
80 if (!buffer || size == 0) return 0;
81
82 // Write raw bytes to stderr
83 int written = _write(2, buffer, static_cast<unsigned int>(size));
84 return (written >= 0) ? static_cast<size_t>(written) : 0;
85}
86
87bool serial_ready() FL_NOEXCEPT {
88 // Windows host platform always "ready" (stderr always available)

Callers 1

writeMethod · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected