Because I needed it for a project, I extended the reader to support Unicode columns (type "W")
If I hadn't done this, the reader would just return null for all Unicode columns.
I also took the liberty of fixing a bug which causes a NullReferenceException when you don't pass a memo stream. A null check was already in place for one branch, but not for cases when the memo length equals 4.
Because I needed it for a project, I extended the reader to support Unicode columns (type "W") If I hadn't done this, the reader would just return
null
for all Unicode columns.I also took the liberty of fixing a bug which causes a
NullReferenceException
when you don't pass a memo stream. A null check was already in place for one branch, but not for cases when the memo length equals 4.