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.h46 struct WsBuffer { struct
47 WsBuffer(std::vector<uint8_t> data, bool binary) in WsBuffer() function
53 void WriteWsBuffer(WsBuffer& ws_buffer); argument
/device/google/cuttlefish/host/frontend/webrtc/lib/
Dws_connection.cpp54 struct WsBuffer { struct in WsConnectionImpl
56 WsBuffer(const uint8_t* data, size_t len, bool binary) in WsBuffer() argument
61 uint8_t* data() { return &buffer_[LWS_PRE]; } in data()
62 bool is_binary() const { return is_binary_; } in is_binary()
63 size_t size() const { return buffer_.size() - LWS_PRE; } in size()
66 std::vector<uint8_t> buffer_;
67 bool is_binary_;