-
Notifications
You must be signed in to change notification settings - Fork 70
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
How to process bytes field #29
Comments
I'll have a look at this and get back to you in a day or two... |
Hi Chris -- just wondering if you had a chance to look at it. The Didn't mean to close issue, thought that closed the comment box. Regards, On Wed, Jul 24, 2013 at 10:14 AM, Chris Dew notifications@git.luolix.topwrote:
|
Sorry for the delay, I will look this evening. On 29 July 2013 12:39, mattygiedt notifications@github.com wrote:
|
Here's how I do it - I hope I've answered your question. buftest.proto
buftest.js
Makefile: (second line begins with a TAB not spaces)
output:
|
P.S. Turning |
Thanks Chris. It was actually obvious user error all along. Thanks for the protobuf node library! |
How do I obtain the data of a 'bytes' field (shown as msg.delegate) into a Buffer?
new Buffer( msg.delegate ); ==> TypeError: First argument needs to be a number, array or string.
The text was updated successfully, but these errors were encountered: