mscribellito / FixedWidth

.NET library for deserializing and serializing fixed width files
MIT License
5 stars 4 forks source link

Deserializing int with Padding zeros on only zeros string #3

Open ericgamamuller opened 4 years ago

ericgamamuller commented 4 years ago

Hello again,

When using the padding with zeros option (Padding = '0') to parse "00000" string it raises and exception of wrong string format. I believe this is due to parsing an empty string (all zeros were removed) into integer.