javascript - Which part of this websocket result is the binary protobuf data? -


i receiving protobuf data remote host on websocket. know how decode protobuf in js using protobuf.js cannot determine part of result coming through websocket in fact protobuf data need decode. attempting decode entire result gives me js error:

cannot wrap null or non-object

if log console object returned websocket, looks this:

enter image description here

i've tried decoding various things e.data (where e total result returned) not sure if i'm going right way.

what part of holds actual protobuf content?

yes, data in .data, , appears represented blob. working blobs in javascript not trivial. object that, need javascript protobuf implementation accepts blob , returns deserialized object.


Comments

Popular posts from this blog

how to proxy from https to http with lighttpd -

android - Automated my builds -

python - Flask migration error -