-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
could client.receive(bytesLength) be supported? #20
Comments
Line 95 in c2a8da6
Line 87 in c2a8da6
Is there a use case for only receiving part of the data? If you only want to read part of the day you can always manually slice the returned Buffer and parse the |
I tried
Above is console output, the last buffer length from server should be 18371, but netlinkwrapper only received 1360. I found that if call But I can't do it like this, I choose netlinkwrapper for sync call method. |
Is there any way to do the same thing with client.receive(bytesLength)?
Are client.send(Buffer) and the return of client.receive(bytesLength) be Buffer supported?
The text was updated successfully, but these errors were encountered: