C
C#3y ago
qqdev

Stream consumption

Hi! Lets say I consume from a stream like:
_client.UploadFile(stream);
_client.UploadFile(stream);
1 Reply
qqdev
qqdevOP3y ago
How does the called method know when there is no more data incoming? I am trying to push data to a stream while using the stream to upload a file To reduce memory pressure There is no EOF or similiar right? I assume it is just checking for the length (which would be fatal here)?
Want results from more Discord servers?
Add your server