Home
last modified time | relevance | path

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

/device/google/cuttlefish/host/libs/websocket/
Dwebsocket_handler.h47 struct WsBuffer { struct
48 WsBuffer(std::vector<uint8_t> data, bool binary) in WsBuffer() argument
54 void WriteWsBuffer(WsBuffer& ws_buffer); argument
/device/google/cuttlefish/host/frontend/webrtc/libdevice/
Dserver_connection.cpp82 struct WsBuffer { struct in cuttlefish::webrtc_streaming::WsConnection
84 WsBuffer(const uint8_t* data, size_t len, bool binary) in WsBuffer() argument
89 uint8_t* data() { return &buffer_[LWS_PRE]; } in data()
90 bool is_binary() const { return is_binary_; } in is_binary()
91 size_t size() const { return buffer_.size() - LWS_PRE; } in size()
94 std::vector<uint8_t> buffer_;
95 bool is_binary_;