-
Notifications
You must be signed in to change notification settings - Fork 348
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support Padding via a Converted in the library #149
Comments
Hi @iremmats Padding is already supported, but not well documented 👎 You must use FieldAlign, http://www.filehelpers.net/docs/html/T_FileHelpers_FieldAlignAttribute.htm Can you translate the answer to stackoverflow ? thanks !!
|
After hit comment I understand that is for a DelimitedRecord 😢 Is implemented for FixedLengthRecord classes, so is a feature to consider |
My use cases has been with fixed field records so far. |
We must add a
or something like |
Make sure it support both left and right padding plus there is no problem with int/string/decimal conversions. Most cases its numbers that needs zeros using left padding. |
You are right [PaddingConverter(totalLength, alignMode, paddingChar) |
…mbiguous. Explicitly declared arguments instead of argument array MarcosMeli#149
Support padding without having to write your own converter.
http://stackoverflow.com/questions/22015002/filehelpers-mixing-delimited-and-fixed-length-records
The text was updated successfully, but these errors were encountered: