Questions tagged [binaryformatter]

The `BinaryFormatter` is a serializer known for its security vulnerabilities that comes pre-installed in the .NET framework. However, it has been disabled by default in ASP.NET web applications since the release of .NET 5.0. Microsoft strongly discourages its usage and is currently working towards completely removing it from future versions. This serializer converts fields into an ambiguous binary format without taking visibility into consideration. It also has the ability to handle polymorphism and cyclic object graphs.

Transferring binary data from C# to Node.js for deserialization

I am facing a challenge where I have a byte array created in C# from an object type, which is then sent over the socket protocol to a Node.js app. However, I am unable to deserialize the data into a readable object. Can anyone suggest a way to decode this ...