This example is hard to understand, it should be:
sunkelin opened this issue · 1 comments
sunkelin commented
This example is hard to understand, it should be:
sunkelin commented
This example is hard to understand, it should be:
const pbjs=require('pbjs');
const schema=require('./test.proto.js');
var buffer = schema.encodeDemo({x: 1, y: 2});
console.log(buffer);
var message = schema.decodeDemo(buffer);
console.log(message);