In C++, I can call protobuf_object.SerializeAsString(). Which method is the same as above in nodejs? The following code is not correct. ``` let out = pbObj.serializeBinary(); let serializeStr = Buffer.from(out).toString(); ```
In C++, I can call protobuf_object.SerializeAsString().
Which method is the same as above in nodejs?
The following code is not correct.