[protobuf] Re: Javascript - where is google-protobuf.js

2020-07-10 Thread zad0m
Hi Michael I've been wondering exact same question recently, the way I found it was to: `yarn add google-protobuf` I know you're not using Node but just use yarn (or npm i google-protobuf) to add the node_modules folder. You need `yarn init` or `npm init -y` first to make sure there's

[protobuf] clarification on Protobuf Bytestring Java Apis

2020-07-10 Thread Shashank M
Hi I am looking for some clarification on Protobuf Bytestring Apis. I have a ByteString and i need to convert to a nio ByteBuffer or to a byte[] without having to perform a copy of underlying bytes . toByteArray() method seems to perform a copy of bytes from backing array. Is this right