@wirelineio/codec-protobuf does not assume any particular schema, but can be configured with one.
This test shows natural encoding/decoding using a configured codec.
@tinchoz49 how can we add a test that runs this in the browser (i.e., tests Buffer - where I would expect it to fail if we use the original protobufjs)?
@wirelineio/codec-protobuf does not assume any particular schema, but can be configured with one.
This test shows natural encoding/decoding using a configured codec.
@tinchoz49 how can we add a test that runs this in the browser (i.e., tests Buffer - where I would expect it to fail if we use the original
protobufjs
)?