Home
last modified time | relevance | path

Searched defs:WsBuffer (Results 1 – 1 of 1) sorted by relevance

/device/google/cuttlefish/host/frontend/webrtc/lib/
Dws_connection.cpp50 struct WsBuffer { struct in WsConnectionImpl
52 WsBuffer(const uint8_t* data, size_t len, bool binary) in WsBuffer() argument
57 uint8_t* data() { return &buffer_[LWS_PRE]; } in data()
58 bool is_binary() const { return is_binary_; } in is_binary()
59 size_t size() const { return buffer_.size() - LWS_PRE; } in size()
62 std::vector<uint8_t> buffer_;
63 bool is_binary_;