NetCoreServer icon indicating copy to clipboard operation
NetCoreServer copied to clipboard

Receive bytes manually

Open furkangkhsn opened this issue 3 years ago • 2 comments

How can I read exact count of bytes from stream? I know i can override receive method but i want to find out if there is a better way.

furkangkhsn avatar Aug 20 '22 13:08 furkangkhsn

What's wrong with overriding the OnReceived method?

Mufanza avatar Nov 04 '22 13:11 Mufanza

I need to read exact number of bytes from the buffer. When overriding the OnReceived method, I have to manage a seperate buffer.

furkangkhsn avatar Apr 09 '23 19:04 furkangkhsn