Extension methods for BinaryReader/BinaryWriter for switching byte endianness.
Overloaded extension methods for BinaryWriter.Writer and BinaryReader.ReadXXX that receive an additional boolean parameter that switches the endianness of the data when writing/reading.
The code doesn't have any dependencies and is currently distributed in binary form as a Portable Class Library compatible with .NET 4.5, Windows Phone 8+ and Windows 8+.
Install the package from NuGet: https://www.nuget.org/packages/BinaryEndiannessExtensions/
Alternatively, you can download the project and add it your solution or download one of the precompiled PCL libraries from the Binaries folder.