wirelineio / wireline-core

GNU Affero General Public License v3.0
1 stars 1 forks source link

Encoding test. #174

Closed richburdon closed 4 years ago

richburdon commented 4 years ago

@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)?