The article based on a hex editor in C#.
The attached source code in a hex editor in C#.
The SOLID Principles