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

Method IpAddress

src/SFML/Network/IpAddress.cpp:90–93  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

88
89////////////////////////////////////////////////////////////
90IpAddress::IpAddress(std::uint8_t byte0, std::uint8_t byte1, std::uint8_t byte2, std::uint8_t byte3) :
91 m_address(static_cast<std::uint32_t>((byte0 << 24) | (byte1 << 16) | (byte2 << 8) | byte3))
92{
93}
94
95
96////////////////////////////////////////////////////////////

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected