If passing a byte string or a rb-mode opened file, I think this library should be able to handle that input properly.
Actually, when parsing files, IMHO it's a better practice, because then the underlying library can handle any possible byte-to-string conversions that might be specific to the format.
If passing a byte string or a
rb
-mode opened file, I think this library should be able to handle that input properly.Actually, when parsing files, IMHO it's a better practice, because then the underlying library can handle any possible byte-to-string conversions that might be specific to the format.