#include "discovery/mdns/public/mdns_writer.h"
#include <limits>
#include <string>
#include <utility>
#include <vector>
#include "absl/hash/hash.h"
#include "util/hashing.h"
#include "util/osp_logging.h"
#include "util/string_util.h"
namespace openscreen::discovery {
namespace {
std::vector<uint64_t> ComputeDomainNameSubhashes(const DomainName& name) { … }
bool UpdateRecordLength(const uint8_t* end, uint8_t* begin) { … }
}
bool MdnsWriter::Write(ByteView value) { … }
bool MdnsWriter::Write(const DomainName& name) { … }
bool MdnsWriter::Write(const RawRecordRdata& rdata) { … }
bool MdnsWriter::Write(const SrvRecordRdata& rdata) { … }
bool MdnsWriter::Write(const ARecordRdata& rdata) { … }
bool MdnsWriter::Write(const AAAARecordRdata& rdata) { … }
bool MdnsWriter::Write(const PtrRecordRdata& rdata) { … }
bool MdnsWriter::Write(const TxtRecordRdata& rdata) { … }
bool MdnsWriter::Write(const NsecRecordRdata& rdata) { … }
bool MdnsWriter::Write(const OptRecordRdata& rdata) { … }
bool MdnsWriter::Write(const MdnsRecord& record) { … }
bool MdnsWriter::Write(const MdnsQuestion& question) { … }
bool MdnsWriter::Write(const MdnsMessage& message) { … }
bool MdnsWriter::Write(const IPAddress& address) { … }
bool MdnsWriter::Write(const Rdata& rdata) { … }
bool MdnsWriter::Write(const Header& header) { … }
}