0.1.3
Add odd-length HexWrappers & improve recursive detection
Features
- Hex Wrappers: Add
Hex1,Hex3,Hex5,Hex6,Hex7for odd bit-length valuesHex1: 4-bit nibble (0-F)Hex3: 12-bit values (000-FFF)Hex5: 20-bit values (00000-FFFFF)Hex6: 24-bit values like RGB colors (000000-FFFFFF)Hex7: 28-bit values (0000000-FFFFFFF)
Improvements
- Generator: Improve
MayUseZeroAllocInternallydetection- Analyze TryFormat method body for actual ZeroAlloc API calls
- Check for ZeroAllocBase inheritance instead of broad assembly reference check
- Reduces false positive ZA1002 warnings for types that don't use ZeroAlloc
Internal
- Cleanup: Use
Encoding.UTF8instead ofSystem.Text.Encoding.UTF8in FormattedWrappers - Version bump to 0.1.3 for both ZeroAlloc and ZeroAlloc.Generator