#include "remoting/protocol/message_decoder.h"
#include <stdint.h>
#include "base/check_op.h"
#include "net/base/io_buffer.h"
#include "remoting/base/compound_buffer.h"
#include "remoting/proto/internal.pb.h"
#include "third_party/webrtc/rtc_base/byte_order.h"
namespace remoting::protocol {
MessageDecoder::MessageDecoder() = default;
MessageDecoder::~MessageDecoder() = default;
void MessageDecoder::AddData(scoped_refptr<net::IOBuffer> data, int data_size) { … }
CompoundBuffer* MessageDecoder::GetNextMessage() { … }
bool MessageDecoder::GetPayloadSize(int* size) { … }
}