dcodeIO
dcodeIO
This adds (hidden) options to specify custom implementations of `fromObject` and `toObject`. Basically, when there is an option `__fromObject`, it is used instead of the generated converter with `this.fromObject` referencing...
Has [it's own module](https://github.com/dcodeIO/protobuf.js/blob/master/src/wrappers.js) now. Adding wrappers to the module translates to reflection. Static code integration is still todo, but possible.
If anyone is interested in tackling other common types, feel free to send a PR! Otherwise, if there is a need for a specific type, but a PR is out...
That seems like whatever bundler this is using behind the scenes is adding a `
This is because the library uses a [node-like buffer pool](https://github.com/dcodeIO/protobuf.js/tree/master/lib/pool) internally. The allocated backing buffer is 8k, but byteOffset and byteLength of the returned Uint8Array point to just the relevant...
When working with unknown-length data, using a buffer pool has its advantages. For instance, node.js also uses one but also provides APIs that accept views (there: `Buffer`s), unlike WebSocket, which...
Does IE11 have `.subarray`? Should be roughly the same.
I think it should, but can't give any hard guarantees. Such errors usually appear when the data is either truncated or not encoded properly, with the latter usually happening when...
Unfortunately, pbjs isn't able to output multiple files, yet, but this is still something I want to do.
If you don't mind, I'd like to keep this issue open as a reminder and to track eventual progress.