I am working on a .NET Core project and I am trying to parse my `List<T>` to `byte[]`.
Using the .NET Framework, we could have achieved the same by using `BinaryFormatter`, but at the time of writing this question it looks like Microsoft does not yet support it in .NET Core and no upcoming releases seem to do that.

Can anybody tell how to perform this serialization in .NET Core?
Also, is binary serialization platform-dependent, and for such reason been deprecated in .NET Core?