Binary Serialization

Hey guys,
I’m trying to compress my struct for a ghost replay so I can be able to send it over to the server and retrieve it whenever I want. Some guy told me about FMemoryWriter/Reader can handle this operation but I can’t find anything online and this is something completely new to me. Can someone help me with that? Maybe with some examples, thanks guyssss