Searched defs:WsBuffer (Results 1 – 2 of 2) sorted by relevance
47 struct WsBuffer { struct48 WsBuffer(std::vector<uint8_t> data, bool binary) in WsBuffer() argument54 void WriteWsBuffer(WsBuffer& ws_buffer); argument
82 struct WsBuffer { struct in cuttlefish::webrtc_streaming::WsConnection84 WsBuffer(const uint8_t* data, size_t len, bool binary) in WsBuffer() argument89 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_;