Function DataEvent

Synopsis

#include <src/uvw/stream.h>

explicit DataEvent(std::unique_ptr< char[]> buf, std::size_t len) noexcept

Description

No description yet.

Source

Lines 11-13 in src/uvw/stream.cpp. Line 65 in src/uvw/stream.h.

UVW_INLINE DataEvent::DataEvent(std::unique_ptr<char[]> buf, std::size_t len) noexcept
    : data{std::move(buf)}, length{len}
{}





Add Discussion as Guest

Log in