MCPcopy Create free account
hub / github.com/defold/defold / IsEncodableDnsName

Function IsEncodableDnsName

engine/dlib/src/dlib/mdns.cpp:1728–1733  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1726 }
1727
1728 static bool IsEncodableDnsName(const char* name)
1729 {
1730 uint8_t buffer[512];
1731 uint32_t offset = 0;
1732 return WriteName(buffer, sizeof(buffer), &offset, name);
1733 }
1734
1735 static int32_t FindBrowserHost(dmArray<BrowserHost>& hosts, const char* host)
1736 {

Callers 1

RegisterServiceFunction · 0.85

Calls 1

WriteNameFunction · 0.70

Tested by

no test coverage detected