busboy icon indicating copy to clipboard operation
busboy copied to clipboard

Access raw field Buffer

Open Sethlans opened this issue 2 years ago • 0 comments

Hi all, first of all thanks for the awesome library. I would like to know if is it possible in some way to access the raw Buffer for each field instead of only for files.

In my use case, a third-party tool is sending a multipart with different text encoding for each field and we do not know the encoding before parsing a field called charsets.

Ideally, I would read all the fields as Buffer, parse the charsets filed that is always UTF-8, and then with the information parse all the other fields

Thanks

Sethlans avatar Sep 22 '22 08:09 Sethlans