chromium/third_party/openscreen/src/discovery/mdns/public/mdns_reader.cc

// Copyright 2019 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "discovery/mdns/public/mdns_reader.h"

#include <algorithm>
#include <string_view>
#include <utility>

#include "discovery/common/config.h"
#include "discovery/mdns/public/mdns_constants.h"
#include "util/osp_logging.h"
#include "util/std_util.h"

namespace openscreen::discovery {
namespace {

bool TryParseDnsType(uint16_t to_parse, DnsType* type) {}

}  // namespace

MdnsReader::MdnsReader(const Config& config,
                       const uint8_t* buffer,
                       size_t length)
    :{}

bool MdnsReader::Read(TxtRecordRdata::Entry* out) {}

// RFC 1035: https://www.ietf.org/rfc/rfc1035.txt
// See section 4.1.4. Message compression.
bool MdnsReader::Read(DomainName* out) {}

bool MdnsReader::Read(RawRecordRdata* out) {}

bool MdnsReader::Read(SrvRecordRdata* out) {}

bool MdnsReader::Read(ARecordRdata* out) {}

bool MdnsReader::Read(AAAARecordRdata* out) {}

bool MdnsReader::Read(PtrRecordRdata* out) {}

bool MdnsReader::Read(TxtRecordRdata* out) {}

bool MdnsReader::Read(NsecRecordRdata* out) {}

bool MdnsReader::Read(MdnsRecord* out) {}

bool MdnsReader::Read(MdnsQuestion* out) {}

ErrorOr<MdnsMessage> MdnsReader::Read() {}

bool MdnsReader::Read(IPAddress::Version version, IPAddress* out) {}

bool MdnsReader::Read(DnsType type, Rdata* out) {}

bool MdnsReader::Read(Header* out) {}

bool MdnsReader::Read(std::vector<DnsType>* out, int remaining_size) {}

bool MdnsReader::Read(NsecBitMapField* out) {}

}  // namespace openscreen::discovery