- Added stdin support for XML encoding: V2GDecoder.exe -encode (reads XML from stdin)
- Added stdin support for hex decoding: V2GDecoder.exe -decode (reads hex string from stdin)
- Implemented hexStringToBinary() function for hex string to binary conversion
- Enhanced main() argument parsing to support stdin mode with filename "-"
- Updated help messages to show new pipe support options
- Cross-validated with original C program - 100% identical results for both encoding and decoding
- Enables pipeline usage: echo hex | V2GDecoder.exe -decode and type file.xml | V2GDecoder.exe -encode
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
- Create complete VS2022 solution with 3 projects:
* V2GDecoder: Main EXI decoder with debugging support
* HexToBinary: Hex string to binary utility
* HexDumpToBinary: Hex dump to binary utility
- Copy all source files locally for Windows compilation:
* Added Windows compatibility for unistd.h, fstat, S_ISREG
* Fixed VLA issues in EncoderChannel.c with macro definitions
* Include all required modules: codec, iso1, iso2, din, appHandshake
- Build configuration:
* Support Debug/Release x86/x64 configurations
* Proper include directories and preprocessor definitions
* Windows-specific compiler flags (_WIN32, __STDC_NO_VLA__)
- Verification:
* Both test4.exi and test5.exi decode/encode perfectly
* 100% binary compatibility: original ↔ XML ↔ reencoded
* Ready for step-by-step debugging in Visual Studio
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>