-
Is there a built-in way to relatively trivially, with Python or C# code, end up with a TextIOWrapper which is based on a C# Stream object? My end goal pretty much what sys.stdout and sys.stdin are (but with a different Stream). Above is pretty close to what I'm looking for, but it's internal and I think it would be tricky to actually use it. |
Beta Was this translation helpful? Give feedback.
Answered by
slozier
Mar 6, 2025
Replies: 1 comment 1 reply
-
I think you could do something like |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
Muny
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I think you could do something like
io.TextIOWrapper(open(myStream))
. Not sure how well it works though...