MCPcopy Create free account
hub / github.com/SFML/SFML / toBytes

Method toBytes

src/SFML/Network/IpAddress.cpp:198–202  ·  view source on GitHub ↗

///////////////////////////////////////////////////////

Source from the content-addressed store, hash-verified

196
197////////////////////////////////////////////////////////////
198std::array<std::uint8_t, 16> IpAddress::toBytes() const
199{
200 assert(std::holds_alternative<V6Data>(m_address));
201 return std::get<V6Data>(m_address);
202}
203
204
205////////////////////////////////////////////////////////////

Callers 6

Dns.test.cppFile · 0.80
IpAddress.test.cppFile · 0.80
connectMethod · 0.80
bindMethod · 0.80
sendMethod · 0.80
listenMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected