protobuf.js version: 6.8.6
Any empty 'bytes' field on a message, will be decoded into an empty javascript array.
The expected behavior is that it will be decoded into an empty buffer, in order to keep consistency with the case the field has data.
- in protobuf js v5 it was decoded into an empty buffer.
protobuf.js version: 6.8.6
Any empty 'bytes' field on a message, will be decoded into an empty javascript array.
The expected behavior is that it will be decoded into an empty buffer, in order to keep consistency with the case the field has data.