We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
protobuf.js version: 6.3.1
Using the following message,
message Response { fixed32 id = 1; bytes data = 2; string error = 3; }
when calling Response.encode(Response.create({error: 'error'})).finish(), I get: [18, 0, 26, 5, 101, 114, 114, 111, 114].
Response.encode(Response.create({error: 'error'})).finish()
[18, 0, 26, 5, 101, 114, 114, 111, 114]
The 2 first bytes are useless.
If I call Response.encode({error: 'error'}).finish(), I get [26, 5, 101, 114, 114, 111, 114] which is fine.
Response.encode({error: 'error'}).finish()
[26, 5, 101, 114, 114, 111, 114]
The text was updated successfully, but these errors were encountered:
fde56c0
No branches or pull requests
protobuf.js version: 6.3.1
Using the following message,
when calling
Response.encode(Response.create({error: 'error'})).finish()
, I get:[18, 0, 26, 5, 101, 114, 114, 111, 114]
.The 2 first bytes are useless.
If I call
Response.encode({error: 'error'}).finish()
, I get[26, 5, 101, 114, 114, 111, 114]
which is fine.The text was updated successfully, but these errors were encountered: