You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
No way to set StringCodec on ZipInputStream & ZipOutputStream #776
[Obsolete("Use ZipFile/Zip*Stream StringCodec instead")]
I got this from the latest version. But ZipInputStream & ZipOutputStream do not provide any StingCodec property and the only one which might be useful constructor is internal
Expected behavior
Should allow us to set the StringCodec if ZipStrings.CodePage is obsolete
Actual behavior
No way except the obsolete way to set the StringCodec
Yes, you are right, not sure how that happened. There should be getters and setters to access the internal _stringCodec, and perhaps the constructor should be public as well.
Activity
piksel commentedon Sep 20, 2022
Yes, you are right, not sure how that happened. There should be getters and setters to access the internal
_stringCodec, and perhaps the constructor should be public as well.zhuxb711 commentedon Sep 20, 2022
Use reflection to work around this issue in case someone needs it.