You need to know not only the endianness, but the whole protocol used by sf::Packet (how it encapsulates the data, and how it encodes non-primitive types). It is generally disadvised to use sf::Packet on one side of the communication only; this protocol is an internal detail and may change in a future minor version.
If you really need to do that, you should read the source code.